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>
@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 {