diff --git a/resources/i18n/en.json b/resources/i18n/en.json index 906da27286..f4ef2741c4 100644 --- a/resources/i18n/en.json +++ b/resources/i18n/en.json @@ -213,6 +213,7 @@ }, "sidebar": { "section": { + "toggle": "Toggle sidebar", "new": "New", "new_community": "Community", "new_collection": "Collection", @@ -244,13 +245,16 @@ "curation_task": "Curation Task", "statistics_task": "Statistics Task", "control_panel": "Control Panel", - - "browse_global": "All of DSpace", "browse_global_communities_and_collections": "Communities & Collections", "browse_global_by_issue_date": "By Issue Date", "browse_global_by_author": "By Author", - "statistics": "Statistics" + "browse_global_by_title": "By Title", + "statistics": "Statistics", + "browse_community": "This Community", + "browse_community_by_issue_date": "By Issue Date", + "browse_community_by_author": "By Author", + "browse_community_by_title": "By Title" } } }, diff --git a/src/app/+admin/admin-sidebar/admin-sidebar.component.html b/src/app/+admin/admin-sidebar/admin-sidebar.component.html index b59c1db829..9ddf2500e8 100644 --- a/src/app/+admin/admin-sidebar/admin-sidebar.component.html +++ b/src/app/+admin/admin-sidebar/admin-sidebar.component.html @@ -3,7 +3,9 @@ [@slideSidebar]="{ value: (!(sidebarExpanded | async) ? 'collapsed' : 'expanded'), params: {sidebarWidth: (sidebarWidth | async)} - }" (@slideSidebar.done)="finishSlide($event)" (@slideSidebar.start)="startSlide($event)" *ngIf="menuVisible | async" (mouseenter)="expandPreview($event)" (mouseleave)="collapsePreview($event)"> + }" (@slideSidebar.done)="finishSlide($event)" (@slideSidebar.start)="startSlide($event)" + *ngIf="menuVisible | async" (mouseenter)="expandPreview($event)" + (mouseleave)="collapsePreview($event)"> diff --git a/src/app/+admin/admin-sidebar/admin-sidebar.component.ts b/src/app/+admin/admin-sidebar/admin-sidebar.component.ts index 804680bdf6..69aa9158b2 100644 --- a/src/app/+admin/admin-sidebar/admin-sidebar.component.ts +++ b/src/app/+admin/admin-sidebar/admin-sidebar.component.ts @@ -392,7 +392,7 @@ export class AdminSidebarComponent extends MenuComponent implements OnInit { model: { type: MenuItemType.LINK, text: 'admin.sidebar.section.registries_metadata', - link: '/registries/metadata' + link: 'admin/registries/metadata' } as LinkMenuItemModel, }, { @@ -403,7 +403,7 @@ export class AdminSidebarComponent extends MenuComponent implements OnInit { model: { type: MenuItemType.LINK, text: 'admin.sidebar.section.registries_format', - link: '/registries/format' + link: 'admin/registries/bitstream-formats' } as LinkMenuItemModel, }, diff --git a/src/app/+search-page/search-filters/search-filters.component.ts b/src/app/+search-page/search-filters/search-filters.component.ts index 7f1eb513ea..f16faff1f3 100644 --- a/src/app/+search-page/search-filters/search-filters.component.ts +++ b/src/app/+search-page/search-filters/search-filters.component.ts @@ -58,7 +58,6 @@ export class SearchFiltersComponent { * @returns {Observable} Emits true whenever a given filter config should be shown */ isActive(filterConfig: SearchFilterConfig): Observable { - // console.log(filter.name); return this.filterService.getSelectedValuesForFilter(filterConfig).pipe( mergeMap((isActive) => { if (isNotEmpty(isActive)) { diff --git a/src/app/core/auth/server-auth.service.ts b/src/app/core/auth/server-auth.service.ts index 089cbd0ba2..5022a3b165 100644 --- a/src/app/core/auth/server-auth.service.ts +++ b/src/app/core/auth/server-auth.service.ts @@ -41,7 +41,6 @@ export class ServerAuthService extends AuthService { // TODO this should be cleaned up, AuthStatus could be parsed by the RemoteDataService as a whole... const person$ = this.rdbService.buildSingle(status.eperson.toString()); - // person$.subscribe(() => console.log('test')); return person$.pipe(map((eperson) => eperson.payload)); } else { throw(new Error('Not authenticated')); diff --git a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html index be09c687f3..258c8b6c11 100644 --- a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html +++ b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html @@ -7,7 +7,7 @@ -