mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
59415: Disabled Communities & Collections link in navbar + fixed browse by title
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="browse-by-metadata w-100 row">
|
<div class="browse-by-metadata w-100 row">
|
||||||
<ds-browse-by class="col-xs-12 w-100"
|
<ds-browse-by class="col-xs-12 w-100"
|
||||||
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name, field: 'browse.metadata.' + metadata | translate, value: (value)? '"' + value + '"': ''} }}"
|
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.' + metadata | translate, value: (value)? '"' + value + '"': ''} }}"
|
||||||
[objects$]="(items$ !== undefined)? items$ : browseEntries$"
|
[objects$]="(items$ !== undefined)? items$ : browseEntries$"
|
||||||
[paginationConfig]="paginationConfig"
|
[paginationConfig]="paginationConfig"
|
||||||
[sortConfig]="sortConfig">
|
[sortConfig]="sortConfig">
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="browse-by-title w-100 row">
|
<div class="browse-by-title w-100 row">
|
||||||
<ds-browse-by class="col-xs-12 w-100"
|
<ds-browse-by class="col-xs-12 w-100"
|
||||||
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name, field: 'browse.metadata.title' | translate, value: ''} }}"
|
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.title' | translate, value: ''} }}"
|
||||||
[objects$]="items$"
|
[objects$]="items$"
|
||||||
[paginationConfig]="paginationConfig"
|
[paginationConfig]="paginationConfig"
|
||||||
[sortConfig]="sortConfig">
|
[sortConfig]="sortConfig">
|
||||||
|
@@ -51,17 +51,17 @@ export class NavbarComponent extends MenuComponent implements OnInit {
|
|||||||
} as TextMenuItemModel,
|
} as TextMenuItemModel,
|
||||||
index: 0
|
index: 0
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
id: 'browse_global_communities_and_collections',
|
// id: 'browse_global_communities_and_collections',
|
||||||
parentID: 'browse_global',
|
// parentID: 'browse_global',
|
||||||
active: false,
|
// active: false,
|
||||||
visible: true,
|
// visible: true,
|
||||||
model: {
|
// model: {
|
||||||
type: MenuItemType.LINK,
|
// type: MenuItemType.LINK,
|
||||||
text: 'menu.section.browse_global_communities_and_collections',
|
// text: 'menu.section.browse_global_communities_and_collections',
|
||||||
link: '#'
|
// link: '#'
|
||||||
} as LinkMenuItemModel,
|
// } as LinkMenuItemModel,
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
id: 'browse_global_global_by_title',
|
id: 'browse_global_global_by_title',
|
||||||
parentID: 'browse_global',
|
parentID: 'browse_global',
|
||||||
|
Reference in New Issue
Block a user