LP1994711 Restore <eg-title> to staff banner
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Mon, 17 Apr 2023 20:24:36 +0000 (20:24 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 19 Apr 2023 13:12:50 +0000 (09:12 -0400)
Restores <eg-title> to staff-banner.component.html for pages that don't
have their titles set by any other method.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts

index 6055fbc..f32afa2 100644 (file)
@@ -3,6 +3,8 @@ import {Component, OnInit, Input} from '@angular/core';
 @Component({
   selector: 'eg-staff-banner',
   template: `
+    <eg-title i18n-prefix [prefix]="bannerText"></eg-title>
+
     <div class="lead alert alert-primary text-center pt-1 pb-1"
       [ngClass]="bannerStyle ? bannerStyle : 'alert-primary'">
       <h1>