From c22ea2cbddd5018b778a16027df8a2194b3ca2b4 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 28 Jul 2015 15:04:16 +0000 Subject: [PATCH] webstaff: Z39.50 - yet more improvements * change binding of marc_xml * implement edit-then-overlay * add search-in-progress indicator * implement display of total hit count * implement remove fields on import Signed-off-by: Galen Charlton Signed-off-by: Jason Stephenson --- .../staff/cat/z3950/t_edit_overlay_record.tt2 | 16 ++++ .../src/templates/staff/cat/z3950/t_list.tt2 | 36 +++++++- .../templates/staff/cat/z3950/t_marc_edit.tt2 | 2 +- .../templates/staff/cat/z3950/t_overlay.tt2 | 52 +++++------ .../web/js/ui/default/staff/cat/z3950/app.js | 90 +++++++++++++++++-- 5 files changed, 158 insertions(+), 38 deletions(-) create mode 100644 Open-ILS/src/templates/staff/cat/z3950/t_edit_overlay_record.tt2 diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_edit_overlay_record.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_edit_overlay_record.tt2 new file mode 100644 index 0000000000..3372bcf61c --- /dev/null +++ b/Open-ILS/src/templates/staff/cat/z3950/t_edit_overlay_record.tt2 @@ -0,0 +1,16 @@ +
+ + + +
diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 index 23349b9f78..86292c9784 100644 --- a/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 @@ -40,11 +40,39 @@ -
-[% l('Record with TCN [_1] marked for overlay.', '{{local_overlay_target}}') %]" +
+
[% l('Remove Fields on Import') %]
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ [% l('Searching...') %] +
+
+
-
-[% l('No record marked for overlay.') %] + +
+
+ [% l('Total hits: [_1]', '{{total_hits}}') %] +
+
+ [% l('Record with TCN [_1] marked for overlay.', '{{local_overlay_target}}') %]" +
+
+ [% l('No record marked for overlay.') %] +
diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2 index 97e448cfc3..214aaa3a3d 100644 --- a/Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/z3950/t_marc_edit.tt2 @@ -5,7 +5,7 @@