From 150aace38e8ca0354a5fe26e278314cdb9a54169 Mon Sep 17 00:00:00 2001 From: "L. Henze" Date: Tue, 15 Oct 2019 13:47:51 -0400 Subject: [PATCH] Page title - only show if there is no parent --- .../browse-by-metadata-page.component.html | 1 + src/app/shared/browse-by/browse-by.component.html | 2 +- src/app/shared/browse-by/browse-by.component.ts | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/+browse-by/+browse-by-metadata-page/browse-by-metadata-page.component.html b/src/app/+browse-by/+browse-by-metadata-page/browse-by-metadata-page.component.html index 4d06f5825b..45f2ef3b2a 100644 --- a/src/app/+browse-by/+browse-by-metadata-page/browse-by-metadata-page.component.html +++ b/src/app/+browse-by/+browse-by-metadata-page/browse-by-metadata-page.component.html @@ -25,6 +25,7 @@
-

{{title | translate}}

+

{{title | translate}}

diff --git a/src/app/shared/browse-by/browse-by.component.ts b/src/app/shared/browse-by/browse-by.component.ts index 6c4bc78213..230b0bc136 100644 --- a/src/app/shared/browse-by/browse-by.component.ts +++ b/src/app/shared/browse-by/browse-by.component.ts @@ -26,6 +26,10 @@ export class BrowseByComponent implements OnInit { */ @Input() title: string; + /** + * The parent name + */ + @Input() parentname: string; /** * The list of objects to display */