mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Merge remote-tracking branch 'origin/main' into task/main/CST-15074
# Conflicts: # src/assets/i18n/en.json5
This commit is contained in:
@@ -63,7 +63,7 @@ export const APP_ROUTES: Route[] = [
|
||||
path: 'home',
|
||||
loadChildren: () => import('./home-page/home-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { showBreadcrumbs: false },
|
||||
data: { showBreadcrumbs: false, enableRSS: true },
|
||||
providers: [provideSuggestionNotificationsState()],
|
||||
canActivate: [endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
@@ -101,12 +101,14 @@ export const APP_ROUTES: Route[] = [
|
||||
path: COMMUNITY_MODULE_PATH,
|
||||
loadChildren: () => import('./community-page/community-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { enableRSS: true },
|
||||
canActivate: [endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
{
|
||||
path: COLLECTION_MODULE_PATH,
|
||||
loadChildren: () => import('./collection-page/collection-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { showBreadcrumbs: false, enableRSS: true },
|
||||
canActivate: [endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
{
|
||||
@@ -137,6 +139,7 @@ export const APP_ROUTES: Route[] = [
|
||||
path: 'mydspace',
|
||||
loadChildren: () => import('./my-dspace-page/my-dspace-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { enableRSS: true },
|
||||
providers: [provideSuggestionNotificationsState()],
|
||||
canActivate: [authenticatedGuard, endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
@@ -144,6 +147,7 @@ export const APP_ROUTES: Route[] = [
|
||||
path: 'search',
|
||||
loadChildren: () => import('./search-page/search-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { enableRSS: true },
|
||||
canActivate: [endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
{
|
||||
@@ -156,6 +160,7 @@ export const APP_ROUTES: Route[] = [
|
||||
path: ADMIN_MODULE_PATH,
|
||||
loadChildren: () => import('./admin/admin-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { enableRSS: true },
|
||||
canActivate: [siteAdministratorGuard, endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
{
|
||||
@@ -200,6 +205,7 @@ export const APP_ROUTES: Route[] = [
|
||||
providers: [provideSubmissionState()],
|
||||
loadChildren: () => import('./workflowitems-edit-page/workflowitems-edit-page-routes')
|
||||
.then((m) => m.ROUTES),
|
||||
data: { enableRSS: true },
|
||||
canActivate: [endUserAgreementCurrentUserGuard],
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user