File tree Expand file tree Collapse file tree 5 files changed +15
-16
lines changed
Expand file tree Collapse file tree 5 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
2121 ITEM_MODULE_PATH ,
2222 LEGACY_BITSTREAM_MODULE_PATH ,
2323} from '@dspace/core/router/core-routing-paths' ;
24+ import { INFO_MODULE_PATH } from '@dspace/core/router/info-routing-paths' ;
2425import { ServerCheckGuard } from '@dspace/core/server-check/server-check.guard' ;
2526
2627import { ACCESS_CONTROL_MODULE_PATH } from './access-control/access-control-routing-paths' ;
@@ -29,7 +30,6 @@ import {
2930 ADMIN_MODULE_PATH ,
3031 FORGOT_PASSWORD_PATH ,
3132 HEALTH_PAGE_PATH ,
32- INFO_MODULE_PATH ,
3333 PROFILE_MODULE_PATH ,
3434 REGISTER_PATH ,
3535 REQUEST_COPY_MODULE_PATH ,
Original file line number Diff line number Diff line change @@ -38,11 +38,6 @@ export function getWorkspaceItemModuleRoute() {
3838 return `/${ WORKSPACE_ITEM_MODULE_PATH } ` ;
3939}
4040
41- export const INFO_MODULE_PATH = 'info' ;
42- export function getInfoModulePath ( ) {
43- return `/${ INFO_MODULE_PATH } ` ;
44- }
45-
4641export const REQUEST_COPY_MODULE_PATH = 'request-a-copy' ;
4742export function getRequestCopyModulePath ( ) {
4843 return `/${ REQUEST_COPY_MODULE_PATH } ` ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313} from 'rxjs' ;
1414import { map } from 'rxjs/operators' ;
1515
16- import { getEndUserAgreementPath } from '../../info /info-routing-paths' ;
16+ import { getEndUserAgreementPath } from '../router /info-routing-paths' ;
1717
1818export declare type HasAcceptedGuardParamFn = ( ) => Observable < boolean > ;
1919/**
Original file line number Diff line number Diff line change 1- import { getInfoModulePath } from '../app-routing-paths' ;
2-
31export const END_USER_AGREEMENT_PATH = 'end-user-agreement' ;
42export const PRIVACY_PATH = 'privacy' ;
53export const FEEDBACK_PATH = 'feedback' ;
@@ -26,6 +24,12 @@ export function getAccessibilitySettingsPath() {
2624 return getSubPath ( ACCESSIBILITY_SETTINGS_PATH ) ;
2725}
2826
27+ export const INFO_MODULE_PATH = 'info' ;
28+
29+ export function getInfoModulePath ( ) {
30+ return `/${ INFO_MODULE_PATH } ` ;
31+ }
32+
2933function getSubPath ( path : string ) {
3034 return `${ getInfoModulePath ( ) } /${ path } ` ;
3135}
Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ import {
55import { i18nBreadcrumbResolver } from '@dspace/core/breadcrumbs/i18n-breadcrumb.resolver' ;
66import { notifyInfoGuard } from '@dspace/core/coar-notify/notify-info/notify-info.guard' ;
77import { feedbackGuard } from '@dspace/core/feedback/feedback.guard' ;
8- import { hasValue } from '@dspace/shared/utils/empty.util' ;
9-
10- import { environment } from '../../environments/environment' ;
11- import { AccessibilitySettingsComponent } from './accessibility-settings/accessibility-settings.component' ;
12- import { ThemedEndUserAgreementComponent } from './end-user-agreement/themed-end-user-agreement.component' ;
13- import { ThemedFeedbackComponent } from './feedback/themed-feedback.component' ;
148import {
159 ACCESSIBILITY_SETTINGS_PATH ,
1610 COAR_NOTIFY_SUPPORT ,
1711 END_USER_AGREEMENT_PATH ,
1812 FEEDBACK_PATH ,
1913 PRIVACY_PATH ,
20- } from './info-routing-paths' ;
14+ } from '@dspace/core/router/info-routing-paths' ;
15+ import { hasValue } from '@dspace/shared/utils/empty.util' ;
16+
17+ import { environment } from '../../environments/environment' ;
18+ import { AccessibilitySettingsComponent } from './accessibility-settings/accessibility-settings.component' ;
19+ import { ThemedEndUserAgreementComponent } from './end-user-agreement/themed-end-user-agreement.component' ;
20+ import { ThemedFeedbackComponent } from './feedback/themed-feedback.component' ;
2121import { NotifyInfoComponent } from './notify-info/notify-info.component' ;
2222import { ThemedPrivacyComponent } from './privacy/themed-privacy.component' ;
2323
You can’t perform that action at this time.
0 commit comments