Add tab/page titles to the Angular staff catalog Search Results and
Record Details pages.
Search results offers 1 of 2 titles, depending on whether a search has
be run:
"Catalog Search"
"Catalog Search - <count> Results"
The record detail title shows the bib ID and bib title:
"Bib <bib TCN> - <bib title>"
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
+<ng-container *ngIf="summary">
+ <eg-title i18n-prefix prefix="Bib {{summary.record.tcn_value()}} - {{summary.display.title}}">
+ </eg-title>
+</ng-container>
+
<div id="staff-catalog-record-container">
<div class="row ml-0 mr-0">
<div id='staff-catalog-bib-navigation'>
+<ng-container *ngIf="searchIsDone()">
+ <eg-title i18n-prefix prefix="Catalog Search - {{searchContext.result.count}} Results"></eg-title>
+</ng-container>
+<ng-container *ngIf="!searchIsDone()">
+ <eg-title i18n-prefix prefix="Catalog Search"></eg-title>
+</ng-container>
<!-- search results progress bar -->
<div class="row" *ngIf="searchIsActive()">