From: Bill Erickson Date: Sat, 15 Aug 2015 19:41:59 +0000 (-0400) Subject: LP#1452950 required/suggested/all fields selectors X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=75671d711ea93019f6055c5da7a89087dea3b4e5;p=working%2FEvergreen.git LP#1452950 required/suggested/all fields selectors Wire up links for Required, suggested, and All fields links. Also move the patron control bar out to its own template since it must be loaded from 2 different places in the markup, one for edit and one for register. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/staff/circ/patron/index.tt2 b/Open-ILS/src/templates/staff/circ/patron/index.tt2 index a224fa1e69..1db25c2a6c 100644 --- a/Open-ILS/src/templates/staff/circ/patron/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/index.tt2 @@ -145,29 +145,7 @@ angular.module('egCoreMod').run(['egStrings', function(s) {
-
- - [% l('Show:') %] - - [% l('Required Fields') %] - - - [% l('Suggested Fields') %] - - - [% l('All Fields') %] - - -
-
-
- - - - - - -
+ [% INCLUDE 'staff/circ/patron/reg_actions.tt2' %]
diff --git a/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 b/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 new file mode 100644 index 0000000000..12aa57f7af --- /dev/null +++ b/Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2 @@ -0,0 +1,32 @@ + + +
+ + [% l('Show:') %] + + [% l('Required Fields') %] + + + [% l('Suggested Fields') %] + + + [% l('All Fields') %] + + +
+
+
+ + + + + + +
+ diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index 8d82201cb0..29c15ecc67 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -10,32 +10,11 @@
-
- - [% l('Show:') %] - - [% l('Required Fields') %] - - - [% l('Suggested Fields') %] - - - [% l('All Fields') %] - - -
-
-
- - - - - - -
+ [% INCLUDE 'staff/circ/patron/reg_actions.tt2' %]
+
[% l('Patron Edit') %]
@@ -54,16 +33,17 @@ IF NOT input_type; input_type = 'text'; END %] -
+
- + - - + +
@@ -135,7 +115,7 @@ [% formfield('au', 'suffix') %] [% formfield('au', 'alias') %] -
+
-
+
-
+
-
+
-
+
-
+
-