From d57f904f650b765b0bf9af8d1fa95ea64478aefb Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 27 Mar 2020 13:17:38 -0400 Subject: [PATCH] LP1869898 Make Angular staff catalog default Modifies Angular and AngJS templates and AngJS code to use the new Angular staff catalog as the default catalog for new catalog searches, record detail links, etc. The traditional client is left unmodified and remains accessible from the navigation menus. Signed-off-by: Bill Erickson --- .../src/app/staff/cat/vandelay/queue.component.html | 3 +-- Open-ILS/src/eg2/src/app/staff/nav.component.html | 10 ++++------ Open-ILS/src/eg2/src/app/staff/nav.component.ts | 3 +-- Open-ILS/src/eg2/src/app/staff/splash.component.ts | 7 ------- .../src/templates/staff/cat/bucket/copy/t_pending.tt2 | 2 +- .../src/templates/staff/cat/bucket/copy/t_view.tt2 | 2 +- .../templates/staff/cat/bucket/record/t_pending.tt2 | 2 +- .../templates/staff/cat/bucket/record/t_search.tt2 | 2 +- .../src/templates/staff/cat/bucket/record/t_view.tt2 | 2 +- Open-ILS/src/templates/staff/cat/item/t_list.tt2 | 2 +- .../templates/staff/cat/share/t_record_summary.tt2 | 11 ++++------- .../staff/cat/share/t_record_summary_slim.tt2 | 11 ++++------- .../templates/staff/circ/checkin/t_checkin_table.tt2 | 2 +- .../src/templates/staff/circ/holds/t_pull_list.tt2 | 3 +-- .../src/templates/staff/circ/holds/t_shelf_list.tt2 | 2 +- .../staff/circ/patron/t_bill_history_payments.tt2 | 2 +- .../staff/circ/patron/t_bill_history_xacts.tt2 | 2 +- .../src/templates/staff/circ/patron/t_bills_list.tt2 | 2 +- .../src/templates/staff/circ/patron/t_checkout.tt2 | 2 +- .../src/templates/staff/circ/patron/t_holds_list.tt2 | 2 +- .../src/templates/staff/circ/patron/t_items_out.tt2 | 2 +- .../templates/staff/circ/patron/t_xact_details.tt2 | 2 +- Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 | 2 +- Open-ILS/src/templates/staff/circ/transits/t_list.tt2 | 2 +- Open-ILS/src/templates/staff/navbar.tt2 | 19 ++++++++----------- Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/app.js | 2 +- .../web/js/ui/default/staff/cat/bucket/record/app.js | 6 ++---- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 6 +++--- Open-ILS/web/js/ui/default/staff/cat/z3950/app.js | 9 ++++----- Open-ILS/web/js/ui/default/staff/circ/checkin/app.js | 2 +- .../web/js/ui/default/staff/circ/services/holds.js | 10 ++-------- .../web/js/ui/default/staff/circ/services/item.js | 2 +- Open-ILS/web/js/ui/default/staff/services/navbar.js | 12 ++++++++++-- 34 files changed, 65 insertions(+), 87 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html index b3b39a8a16..480e5548ea 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html @@ -114,10 +114,9 @@ {{row.imported_as}} - + {{row.imported_as}} - diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index 5310b5b340..80f8873755 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -27,7 +27,7 @@ assignment Search for Items by Barcode - search @@ -150,17 +150,15 @@ @@ -30,7 +29,7 @@
- + [% l('Record merged to #[_1] on [_2]', '{{record.merged_to()}}', '{{record.merge_date() | date:$root.egDateAndTimeFormat}}') @@ -41,8 +40,7 @@
[% l('Title:') %]
@@ -64,8 +62,7 @@
[% l('Title:') %]
diff --git a/Open-ILS/src/templates/staff/cat/share/t_record_summary_slim.tt2 b/Open-ILS/src/templates/staff/cat/share/t_record_summary_slim.tt2 index 7095c5dee6..10719aa2b6 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_record_summary_slim.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_record_summary_slim.tt2 @@ -7,8 +7,7 @@
@@ -27,7 +26,7 @@
- + [% l('Record merged to #[_1] on [_2]', '{{record.merged_to()}}', '{{record.merge_date() | date:$root.egDateAndTimeFormat}}') @@ -38,8 +37,7 @@
[% l('Title:') %]
@@ -64,8 +62,7 @@
[% l('Title:') %]
diff --git a/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 b/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 index 5a27145747..19b1d3358e 100644 --- a/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2 @@ -96,7 +96,7 @@ path='circ.xact_start'> - + {{item.title}} diff --git a/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 index 2348f992cd..eda5f059ef 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 @@ -94,8 +94,7 @@ - + {{item.title}} diff --git a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 index c385a6f8a2..0bac301e66 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 @@ -76,7 +76,7 @@ - + {{item.hold.title}} diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 index 5c31297d9b..e21a3019ad 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_payments.tt2 @@ -21,7 +21,7 @@ - {{item.title}} + {{item.title}} diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_xacts.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_xacts.tt2 index 4be0ef08b6..f08b03414d 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bill_history_xacts.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bill_history_xacts.tt2 @@ -25,7 +25,7 @@ - {{item.title}} + {{item.title}} diff --git a/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 index d622db6c47..ccd7320571 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_bills_list.tt2 @@ -74,7 +74,7 @@ - {{item.title}} + {{item.title}} - + {{item.title}} 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 index 961ad03fc6..d2e8d576ad 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2 @@ -66,7 +66,7 @@ - + {{item.mvr.title()}} diff --git a/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2 index b7857aa151..33ef942ddb 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2 @@ -96,7 +96,7 @@ - + {{item.target_copy().call_number().record().wide_display_entry().title()}} diff --git a/Open-ILS/src/templates/staff/circ/patron/t_xact_details.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_xact_details.tt2 index 4d5ff59486..b08cdff7d4 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_xact_details.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_xact_details.tt2 @@ -10,7 +10,7 @@
{{xact.summary().total_owed() | currency}}
[% l('Title') %]
- {{title}} + {{title}} {{title}}
diff --git a/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 b/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 index 0a2caad72a..6447ecce20 100644 --- a/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 +++ b/Open-ILS/src/templates/staff/circ/renew/t_renew.tt2 @@ -121,7 +121,7 @@ path='circ.renewal_remaining'> - + {{item.title}} diff --git a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 index d15120021e..0719ed909a 100644 --- a/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/transits/t_list.tt2 @@ -57,7 +57,7 @@ - + {{item['target_copy.call_number.record.simple_record.title']}} diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index 220c3d1d1f..e6e5345696 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -51,9 +51,9 @@
  • - + eg-accesskey-desc="[% l('Catalog') %]"> [% l('Search the Catalog') %] @@ -245,19 +245,16 @@ [% l('Cataloging') %]
      -
    • - +
    • + - [% l('Search the Catalog') %] + [% l('Search the Catalog') %]
    • - -
    • - +
    • + - [% l('Staff Catalog (Experimental)') %] + [% l('Search the Catalog (Traditional)') %]
    • diff --git a/Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2 b/Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2 index 03820d284c..6ca1e40773 100644 --- a/Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2 +++ b/Open-ILS/src/templates/staff/serials/t_link_mfhd.tt2 @@ -7,7 +7,7 @@