From d20011d9220b06077194dc76058f6a147f4c4a7d Mon Sep 17 00:00:00 2001
From: Bill Erickson <berickxx@gmail.com>
Date: Fri, 16 Aug 2019 17:00:53 -0400
Subject: [PATCH] LP1840050 Angular staff banner sets title

Any UI that declares a staff banner gets the same text set as the
page/title title as well.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---
 Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts b/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts
index 13ac684e34..1274086f32 100644
--- a/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts
+++ b/Open-ILS/src/eg2/src/app/staff/share/staff-banner.component.ts
@@ -2,10 +2,12 @@ import {Component, OnInit, Input} from '@angular/core';
 
 @Component({
   selector: 'eg-staff-banner',
-  template:
-    '<div class="lead alert alert-primary text-center pt-1 pb-1" role="alert">' +
-      '<span>{{bannerText}}</span>' +
-    '</div>'
+  template: `
+    <div class="lead alert alert-primary text-center pt-1 pb-1" role="alert">
+      <eg-title i18n-prefix [prefix]="bannerText"></eg-title>
+       <span>{{bannerText}}</span>
+    </div>
+    `
 })
 
 export class StaffBannerComponent {
-- 
2.11.0