From 541c6f420e29a4878a8e2165a5ca57edf1485c7d Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 23 Dec 2020 19:22:31 -0500 Subject: [PATCH] PINES Bootstrap Customizations Omnibus 2 - collection of customizations, mostly to translation strings. Signed-off-by: Terran McCanna --- .../src/templates-bootstrap/opac/browse.tt2 | 3 +- .../opac/css/style.css.tt2 | 16 ++++- .../templates-bootstrap/opac/mylist/email.tt2 | 2 +- .../opac/myopac/charges.tt2 | 7 +- .../opac/myopac/circ_history.tt2 | 4 +- .../templates-bootstrap/opac/myopac/circs.tt2 | 4 +- .../opac/myopac/hold_history.tt2 | 2 +- .../templates-bootstrap/opac/myopac/holds.tt2 | 8 --- .../opac/myopac/holds/edit.tt2 | 72 +++++++------------ .../templates-bootstrap/opac/myopac/lists.tt2 | 9 +-- .../templates-bootstrap/opac/myopac/main.tt2 | 10 +-- .../opac/myopac/main_payments.tt2 | 6 +- .../opac/myopac/messages/list.tt2 | 8 +-- .../templates-bootstrap/opac/myopac/prefs.tt2 | 2 +- .../opac/myopac/prefs_my_lists.tt2 | 4 +- .../opac/myopac/prefs_notify.tt2 | 2 +- .../opac/myopac/prefs_settings.tt2 | 2 +- .../opac/parts/advanced/expert.tt2 | 4 +- .../opac/parts/advanced/numeric.tt2 | 4 +- .../opac/parts/advanced/search.tt2 | 8 +-- .../opac/parts/anon_list.tt2 | 10 +-- .../templates-bootstrap/opac/parts/footer.tt2 | 2 +- .../opac/parts/login/form.tt2 | 25 +++---- .../opac/parts/login/login_modal.tt2 | 27 ++++--- .../opac/parts/login/password_hint.tt2 | 3 +- .../opac/parts/login/username_hint.tt2 | 2 +- .../opac/parts/metarecord_hold_filters.tt2 | 13 +--- .../opac/parts/misc_util.tt2 | 6 +- .../opac/parts/myopac/base.tt2 | 35 +++++---- .../opac/parts/place_hold.tt2 | 21 +++--- .../opac/parts/record/cnbrowse.tt2 | 2 +- .../opac/parts/record/contents.tt2 | 10 +-- .../opac/parts/record/copy_counts.tt2 | 2 +- .../opac/parts/record/copy_table.tt2 | 14 ++-- .../opac/parts/record/navigation.tt2 | 4 +- .../opac/parts/record/subjects.tt2 | 14 ++-- .../opac/parts/record/summary.tt2 | 17 +++-- .../opac/parts/result/copy_counts.tt2 | 7 +- .../opac/parts/result/paginate.tt2 | 4 +- .../opac/parts/result/table.tt2 | 4 +- .../opac/parts/searchbar.tt2 | 6 +- .../opac/parts/sms_carrier_selector.tt2 | 6 +- .../opac/parts/sms_number_textbox.tt2 | 6 +- .../templates-bootstrap/opac/record/email.tt2 | 4 +- .../opac/record/email_preview.tt2 | 17 ++--- .../templates-bootstrap/opac/record/print.tt2 | 8 +-- .../opac/record/print_preview.tt2 | 13 ++-- 47 files changed, 212 insertions(+), 247 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/browse.tt2 b/Open-ILS/src/templates-bootstrap/opac/browse.tt2 index 357c68bacf..0ca249f1fe 100755 --- a/Open-ILS/src/templates-bootstrap/opac/browse.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/browse.tt2 @@ -48,7 +48,8 @@ [% control_locg = INCLUDE build_org_selector id='browse-context' show_loc_groups=1 arialabel=l('Select holding library') %] - [% l('Browse for [_1] starting with [_2] in [_3]', control_qtype, control_bterm, control_locg) %] + [% l('Browse for') _ "
" _ control_qtype _ "
" _ l('starting with') _ "
" _ control_bterm _ "
" _ l('in') _ "
" _ control_locg %] + [% IF ctx.mylist.size %] -

[% l('Confirm Basket Email') %]

+

[% l('Confirm Email') %]

[% l('Please confirm that you want to email the [_1] titles in the basket.', ctx.mylist.size) %]

diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 index e4223e63db..727ecf04d0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 @@ -45,11 +45,8 @@ [% l("Billing Type") %] [% l("Title") %] [% l("Checkout") %] - [% l(" Due ") %] - - [% l(" Returned/Renewed") %] - [% l(" Returned*") %] - + [% l("Due ") %] + [% l("Returned/Renewed") %] 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 f89e22c31b..7b6946c683 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, @@ -33,7 +33,7 @@
[% IF offset != 0 %] limit, offset => (offset - limit)}) %]' class="btn btn-action mr-3" >[% l('Previous') %][% END %] + [% l("Delete Selected") %]
[% IF !no_next %] limit, offset => (offset + limit)}) %]' diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 index 6eb1decff2..e4b7bf6dc3 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 @@ -28,7 +28,7 @@
- +
@@ -47,7 +47,7 @@ [% sort_head("sort_title", l("Title")) %] [% sort_head("author", l("Author")) %] - [% sort_head("renews", l("Renewals Left")) %] + [% sort_head("renews", l("Renewals Left")) %] [% sort_head("due", l("Due Date")) %] [% sort_head("barcode", l("Barcode")) %] [% sort_head("callnum", l("Call Number")) %] 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 7ed4903459..7b08a355b6 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,7 @@ 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 0a610276dc..2670646c63 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 @@ -1,7 +1,6 @@ [% PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/misc_util.tt2"; PROCESS "opac/parts/hold_status.tt2"; - PROCESS "opac/parts/hold_notify.tt2"; PROCESS "opac/parts/myopac/column_sort_support.tt2"; WRAPPER "opac/parts/myopac/base.tt2"; myopac_page = "holds"; @@ -88,7 +87,6 @@ [% l('Pickup Location') %] [% l('Cancel if not filled by') %] [% l('Status') %] - [% l('Notify Method') %] [% l('Notes') %] [% l('Edit') %] @@ -220,12 +218,6 @@ [% PROCESS get_hold_status hold=hold; %]
- - Notify Method -
- [% PROCESS get_hold_notify h=ahr; %] -
- Notes [%- FOREACH pubnote IN ahr.notes; diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 index 603d9cfb6d..e5212e550f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 @@ -39,78 +39,54 @@
-
+
[% l('Status') %]: [% hold.human_status %]
-
-
-
+
[% IF hold.hold.status < 3 OR hold.hold.status == 7 %] [%# The following actions cannot be performed on holds that have already been captured... %] - - + + [% l('Cancel unless filled by') %] +
- +
- -
- - -
- - -
+ + + [% l('Active?') %] + + + + [% l('If suspended, activate on') %] + +
-
- - -
- -
- - -
- - [% IF ctx.get_org_setting(ctx.search_ou, 'sms.enable') == 1%] -
- - -
-
- - [% INCLUDE "opac/parts/sms_carrier_selector.tt2" ahr, sms_carrier_hide_warning="true", sms_carrier_hide_label="true" %] -
- [% END %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 index adeda880a8..223f3f2749 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -54,7 +54,7 @@ - [% IF CGI.param('from_basket'); %] + [% IF (CGI.param('from_basket') && ctx.mylist.size) %] +

[% l("... from basket") %]

[% INCLUDE "opac/parts/anon_list.tt2" %] [% ELSE %] @@ -240,7 +241,7 @@ {page => '0', bookbag => bbag.id, depth => 0, locg => ctx.search_ou}, 1 ) - -%]'> [% l('View in Catalogue') %] + -%]'> [% l('View in Catalog') %]
[% END %] @@ -388,7 +389,7 @@ [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - + [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 index 03d66b7600..5497770af3 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 @@ -17,7 +17,7 @@
- [% l("Account Expiration Date - ") %] + [% l("Account Expiration Date") %]: [% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %]
@@ -34,19 +34,19 @@

diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 index fc86b7437d..af63b4f646 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 @@ -37,7 +37,7 @@ [% l('Payment Date') %] [% l('Payment For') %] - [% l('Amount') %] + [% l('Amount Paid') %] [% l('Receipt') %] @@ -57,11 +57,11 @@ Receipt Options:
- +
- +
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 index 07b646d6a1..593b5238bf 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 @@ -66,9 +66,9 @@
- - - + + +
[% IF count < 1 %]
[% l('No messages found.') %]
@@ -115,7 +115,7 @@ Message Options - Read + [% l("Read") %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 index fac9a9ec51..80d04074b3 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 @@ -164,7 +164,7 @@
- Addresses + [% l("Addresses") %]
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_my_lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_my_lists.tt2 index f5ca19ed98..c9d96efeab 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_my_lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_my_lists.tt2 @@ -35,7 +35,7 @@ selected='selected'[% END %]>[% val | html %] [% END %] - + @@ -54,7 +54,7 @@ selected='selected'[% END %]>[% val | html %] [% END %] - + diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2 index 1a61df77b9..5979f84465 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_notify.tt2 @@ -82,7 +82,7 @@ - [% l('Hint: use the full 10 digits of your phone #, no spaces, no dashes'); %] + [% l('Hint: use the full 10 digits of your phone number, no spaces, no dashes'); %] [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_settings.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_settings.tt2 index 2384df3445..b3efce2379 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_settings.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs_settings.tt2 @@ -47,7 +47,7 @@ selected='selected'[% END %]>[% val | html %] [% END %] - + diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 index 243e7d05c9..f4e787456f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 @@ -1,6 +1,6 @@ -

Expert Search

-

Search the MARC record.

+

[% l("Expert Search") %]

+

[% l("Search the MARC record.") %]

diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2 index 0d4326aad8..7066389859 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2 @@ -1,6 +1,6 @@ -

Numeric Search

-

Search by a field and numeric identifier.

+

[% l("Numeric Search") %]

+

[% l("Search by a field and numeric identifier.") %]