LP#1398107: Add header to generic alerts.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 27 Oct 2020 13:40:18 +0000 (09:40 -0400)
committerJason Stephenson <jason@sigio.com>
Mon, 30 Nov 2020 18:18:36 +0000 (13:18 -0500)
Currently, generic alerts/events passed up from the Perl
layer are presented in an unadorned modal that just begins
with "Reason(s) include" without further context.  This
adds a "Could not Complete the Action" header with the
idea that something is better than nothing.  At this point,
i18n is not considered.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/eg2/src/app/share/dialog/alert.component.html

index e81f697..9dfe1a9 100644 (file)
@@ -1,5 +1,6 @@
 <ng-template #dialogContent>
   <div class="modal-body">
+    <h4 class="modal-title">Could Not Complete The Action</h4>
     <div class="alert alert-danger">{{dialogBody}}</div>
   </div>
   <div class="modal-footer">