From 76a3f67fe7f5bbc9f4bcca4f6c8b33ec500c133f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 7 Jul 2014 16:38:46 -0400 Subject: [PATCH] patron holds / detail view Signed-off-by: Bill Erickson --- Open-ILS/src/templates/staff/circ/patron/index.tt2 | 1 + .../src/templates/staff/circ/patron/t_holds.tt2 | 93 ++++------------ .../templates/staff/circ/patron/t_holds_list.tt2 | 80 ++++++++++++++ .../templates/staff/circ/share/hold_strings.tt2 | 1 + .../templates/staff/circ/share/t_hold_details.tt2 | 117 +++++++++++++++++++++ .../web/js/ui/default/staff/cat/services/record.js | 9 +- .../web/js/ui/default/staff/circ/patron/app.js | 12 +++ .../web/js/ui/default/staff/circ/patron/holds.js | 28 +++-- .../web/js/ui/default/staff/circ/services/holds.js | 96 +++++++++++++++++ 9 files changed, 350 insertions(+), 87 deletions(-) create mode 100644 Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 create mode 100644 Open-ILS/src/templates/staff/circ/share/t_hold_details.tt2 diff --git a/Open-ILS/src/templates/staff/circ/patron/index.tt2 b/Open-ILS/src/templates/staff/circ/patron/index.tt2 index 1956411d3d..82b62832ea 100644 --- a/Open-ILS/src/templates/staff/circ/patron/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/index.tt2 @@ -14,6 +14,7 @@ [% INCLUDE 'staff/circ/share/circ_strings.tt2' %] [% INCLUDE 'staff/circ/share/hold_strings.tt2' %] + diff --git a/Open-ILS/src/templates/staff/circ/patron/t_holds.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_holds.tt2 index afd2092f4d..e68bda88a4 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_holds.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_holds.tt2 @@ -1,88 +1,31 @@
- - - - - - - - - - - - - - - - - - - - - - - {{item.hold.current_copy().barcode()}} - - - - - - - - - - - - {{item.mvr.title()}} - - - - - - - - - - - - - - -
-
-
+
+[% INCLUDE 'staff/circ/patron/t_holds_list.tt2' %]
+ +
+
+
+ +
+
+
+ + +
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 new file mode 100644 index 0000000000..6e0d065e3b --- /dev/null +++ b/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + {{item.hold.current_copy().barcode()}} + + + + + + + + + + + + {{item.mvr.title()}} + + + + + + + + + + + + + + +
+
+
+ +
+
+ diff --git a/Open-ILS/src/templates/staff/circ/share/hold_strings.tt2 b/Open-ILS/src/templates/staff/circ/share/hold_strings.tt2 index aaee92c7e2..9e67e19de7 100644 --- a/Open-ILS/src/templates/staff/circ/share/hold_strings.tt2 +++ b/Open-ILS/src/templates/staff/circ/share/hold_strings.tt2 @@ -2,6 +2,7 @@