Display the contents of the patron alert message in the web staff patron
summary side-bar. Alert displays below blocking penalties, above the
name, etc. with the same style as a blocking penalty.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
{{penalty.set_date() | date:'shortDate'}}
</div>
</div>
+ <div class="row patron-summary-divider">
+ <div
+ class="col-md-9 patron-summary-alert"
+ title="[% l('Patron Alert Message') %]"
+ ng-if="patron().alert_message()">
+ {{patron().alert_message()}}
+ </div>
+ </div>
<div class="row"
- ng-class="{'patron-summary-divider' : alert_penalties().length}">
+ ng-class="{'patron-summary-divider' : alert_penalties().length || patron().alert_message()}">
<div class="col-md-5">[% l('Profile') %]</div>
<div class="col-md-7">{{patron().profile().name()}}</div>
</div>