LP#1398107: Add header to generic alerts.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 27 Oct 2020 13:40:18 +0000 (09:40 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 27 Oct 2020 14:15:16 +0000 (10:15 -0400)
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>
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">