From f76369a403b50c7a203eae066460fc26ecd63221 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 17 Nov 2020 17:49:51 -0500 Subject: [PATCH] OPAC: Customizations to My Account Multiple customizations to new Bootstrap version of My Account. - Hide ebook info from displaying since we're not using it in PINES - Fix wrapping problem with buttons on Holds page - Add help popups to holds history and check out history pages - Add PINES direction to contact their local library for assistance - Remove hold order status (you are 1 of 17 holds) Signed-off-by: Terran McCanna --- Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 | 1 + Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 | 3 ++- Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 | 3 ++- Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 | 5 +++-- Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 | 1 + Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 | 7 ++++--- Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 | 1 + Open-ILS/src/templates-bootstrap/opac/myopac/messages.tt2 | 1 + Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 | 1 + .../src/templates-bootstrap/opac/myopac/prefs_my_lists.tt2 | 1 + Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2 | 1 + .../src/templates-bootstrap/opac/myopac/prefs_settings.tt2 | 2 +- Open-ILS/src/templates-bootstrap/opac/parts/hold_status.tt2 | 10 +--------- Open-ILS/src/templates-bootstrap/opac/parts/myopac/base.tt2 | 6 +++--- 15 files changed, 24 insertions(+), 21 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 index febd838242..e4223e63db 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 @@ -133,6 +133,7 @@

[% l("Charges On Your Account") %]

+
[% l("PINES Account Tips") %]
[% IF myopac_cc_allowed %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 index 0ad3f8a122..f89e22c31b 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 @@ -7,7 +7,7 @@ limit = ctx.circ_history_limit; offset = ctx.circ_history_offset; %] -

[% l('History of Checked Out Items') %]

+

[% l('History of Checked Out Items') %]

[% # In the sorting case, the size is the size of ALL the circ items. In the non-sorting case, diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 index 91f8d33a9f..d347fa3f1f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 @@ -6,6 +6,7 @@ parent="circs"; %]

[% l('Current Items Checked Out') %]

+
[% l("PINES Account Tips") %]
@@ -150,7 +151,7 @@ Renewals Remaining - [% circ.circ.renewal_remaining %] + [% circ.circ.renewal_remaining %] [% due_date = ctx.parse_datetime(circ.circ.due_date, circ.circ.circ_lib); diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 index 26830994c9..7ed4903459 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 @@ -9,7 +9,8 @@ count = ctx.hold_history_ids.size; %] -

[% l('Holds History') %]

+

[% l('Holds History') %]

+
[% l("PINES Account Tips") %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 index f95d9ae19e..2670646c63 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 @@ -15,11 +15,12 @@ l("Current Items on Hold"); END %] +
[% l("PINES Account Tips") %]
-
+
@@ -40,7 +41,7 @@
-
+
[% IF offset != 0 %] limit,offset => (offset - limit)}) %]' >◄[% l('Previous') %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 index a4e8d7ea29..34d8c5f6cf 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -14,6 +14,7 @@

[% l('My Lists') %]

+
[% l("PINES Account Tips") %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 index 2f61dccde4..03d66b7600 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 @@ -13,6 +13,7 @@

[% l('My Account Summary') %]

+
[% l("PINES Account Tips") %]
@@ -50,21 +51,21 @@


-
+ -
+ -
+