mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
Browse by pages: Adding Parent's Title and Description
This commit is contained in:
@@ -1,4 +1,25 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
<div *ngVar="(parent$ | async) as parent">
|
||||||
|
<div *ngIf="parent?.payload as parentContext">
|
||||||
|
<header>
|
||||||
|
<!-- Collection Name -->
|
||||||
|
<ds-comcol-page-header
|
||||||
|
[name]="parentContext.name">
|
||||||
|
</ds-comcol-page-header>
|
||||||
|
|
||||||
|
<!-- Introductionary text -->
|
||||||
|
<ds-comcol-page-content
|
||||||
|
[content]="parentContext.introductoryText"
|
||||||
|
[hasInnerHtml]="true">
|
||||||
|
</ds-comcol-page-content>
|
||||||
|
|
||||||
|
<!-- Browse-By Links -->
|
||||||
|
<ds-comcol-page-browse-by [id]="parentContext.id"></ds-comcol-page-browse-by>
|
||||||
|
</header>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="browse-by-metadata w-100">
|
<div class="browse-by-metadata w-100">
|
||||||
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100"
|
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100"
|
||||||
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.' + browseId | translate, value: (value)? '"' + value + '"': ''} }}"
|
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.' + browseId | translate, value: (value)? '"' + value + '"': ''} }}"
|
||||||
|
@@ -0,0 +1,3 @@
|
|||||||
|
.browse-by-metadata {
|
||||||
|
margin: 2rem 0 ;
|
||||||
|
}
|
Reference in New Issue
Block a user