LP#1452950 Register v.s. Edit patron banners
authorBill Erickson <berickxx@gmail.com>
Sun, 19 Jul 2015 14:58:57 +0000 (10:58 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 25 Feb 2016 22:31:54 +0000 (17:31 -0500)
Register patron now has a page-level banner consistent w/ other
full-page UI's.  Patron edit gets a smaller header since it's nestled
under the patron tabs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2

index b686c9a..59bf318 100644 (file)
@@ -1,11 +1,17 @@
 [% DOC_IMG = '/images/question-mark.png' %]
 
-<div class="container-fluid" style="text-align:center">
+<!-- register banner -->
+<div ng-if="!patron_id" 
+  class="container-fluid" style="text-align:center">
   <div class="alert alert-info alert-less-pad strong-text-2">
-    <span ng-if="!is_capture">[% l('Patron Edit') %]</span>
+    <span >[% l('Register Patron') %]</span>
   </div>
 </div>
 
+<!-- edit banner -->
+<div ng-if="patron_id" 
+    class="strong-text-2">[% l('Patron Edit') %]</div>
+
 <!-- IDL field documentation window -->
 <div id="reg-control-actions">
   <div class="pad-all-min">