mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00

# Conflicts: # src/app/core/auth/auth.service.ts # src/app/info/info-routing-paths.ts # src/app/info/info-routing.module.ts # src/app/info/info.module.ts # src/app/shared/live-region/live-region.service.spec.ts # src/app/shared/live-region/live-region.service.ts # src/app/shared/notifications/notifications-board/notifications-board.component.spec.ts # src/app/shared/notifications/notifications-board/notifications-board.component.ts # src/config/app-config.interface.ts # src/config/default-app-config.ts
32 lines
841 B
TypeScript
32 lines
841 B
TypeScript
import { getInfoModulePath } from '../app-routing-paths';
|
|
|
|
export const END_USER_AGREEMENT_PATH = 'end-user-agreement';
|
|
export const PRIVACY_PATH = 'privacy';
|
|
export const FEEDBACK_PATH = 'feedback';
|
|
export const COAR_NOTIFY_SUPPORT = 'coar-notify-support';
|
|
export const ACCESSIBILITY_SETTINGS_PATH = 'accessibility';
|
|
|
|
export function getEndUserAgreementPath() {
|
|
return getSubPath(END_USER_AGREEMENT_PATH);
|
|
}
|
|
|
|
export function getPrivacyPath() {
|
|
return getSubPath(PRIVACY_PATH);
|
|
}
|
|
|
|
export function getFeedbackPath() {
|
|
return getSubPath(FEEDBACK_PATH);
|
|
}
|
|
|
|
export function getCOARNotifySupportPath(): string {
|
|
return getSubPath(COAR_NOTIFY_SUPPORT);
|
|
}
|
|
|
|
export function getAccessibilitySettingsPath() {
|
|
return getSubPath(ACCESSIBILITY_SETTINGS_PATH);
|
|
}
|
|
|
|
function getSubPath(path: string) {
|
|
return `${getInfoModulePath()}/${path}`;
|
|
}
|