From 6bd2b23edb7704c9ae0476eeb2f0b75bd6c70cc9 Mon Sep 17 00:00:00 2001 From: Chris Burton Date: Mon, 7 Sep 2020 21:47:53 -0400 Subject: [PATCH] LP1778972_OPAC_Redesign Numerous Updates Based on Feedback for usabilty and wider acceptance Signed-off-by: Galen Charlton --- Open-ILS/src/templates-bootstrap/opac/ReadMe.txt | 20 + Open-ILS/src/templates-bootstrap/opac/advanced.tt2 | 10 - Open-ILS/src/templates-bootstrap/opac/browse.tt2 | 6 +- .../opac/css/mediaQuery.css.tt2 | 749 +++++++++++++++++++++ .../src/templates-bootstrap/opac/css/style.css.tt2 | 110 ++- .../src/templates-bootstrap/opac/i18n_strings.tt2 | 23 + Open-ILS/src/templates-bootstrap/opac/mylist.tt2 | 1 + .../src/templates-bootstrap/opac/mylist/clear.tt2 | 22 +- .../src/templates-bootstrap/opac/mylist/email.tt2 | 45 +- .../src/templates-bootstrap/opac/mylist/print.tt2 | 45 +- .../templates-bootstrap/opac/myopac/charges.tt2 | 46 +- .../opac/myopac/circ_history.tt2 | 11 +- .../src/templates-bootstrap/opac/myopac/circs.tt2 | 14 +- .../opac/myopac/ebook_place_hold.tt2 | 7 +- .../opac/myopac/hold_history.tt2 | 23 +- .../src/templates-bootstrap/opac/myopac/holds.tt2 | 32 +- .../templates-bootstrap/opac/myopac/holds/edit.tt2 | 81 +-- .../opac/myopac/list/update.tt2 | 55 +- .../src/templates-bootstrap/opac/myopac/lists.tt2 | 31 +- .../src/templates-bootstrap/opac/myopac/main.tt2 | 61 +- .../opac/myopac/main_payments.tt2 | 11 +- .../opac/myopac/messages/list.tt2 | 54 +- .../opac/myopac/messages/single_message.tt2 | 44 +- .../src/templates-bootstrap/opac/myopac/prefs.tt2 | 27 +- .../opac/myopac/prefs_my_lists.tt2 | 7 +- .../opac/myopac/prefs_notify.tt2 | 4 +- .../opac/myopac/prefs_settings.tt2 | 6 +- .../opac/myopac/update_email.tt2 | 2 +- .../opac/myopac/update_password.tt2 | 2 +- .../opac/myopac/update_username.tt2 | 2 +- .../opac/parts/advanced/expert.tt2 | 26 +- .../opac/parts/advanced/global_row.tt2 | 10 +- .../opac/parts/advanced/numeric.tt2 | 20 +- .../opac/parts/advanced/search.tt2 | 228 +++---- .../templates-bootstrap/opac/parts/anon_list.tt2 | 9 +- .../src/templates-bootstrap/opac/parts/base.tt2 | 19 +- .../templates-bootstrap/opac/parts/cart_nav.tt2 | 14 +- .../opac/parts/check_value_selector.tt2 | 64 ++ .../templates-bootstrap/opac/parts/css/colors.tt2 | 16 +- .../src/templates-bootstrap/opac/parts/footer.tt2 | 8 +- Open-ILS/src/templates-bootstrap/opac/parts/js.tt2 | 23 +- .../opac/parts/library/core_info.tt2 | 22 +- .../opac/parts/library/hours.tt2 | 4 +- .../opac/parts/locale_picker.tt2 | 2 +- .../templates-bootstrap/opac/parts/login/form.tt2 | 38 +- .../opac/parts/login/login_modal.tt2 | 14 +- .../templates-bootstrap/opac/parts/misc_util.tt2 | 27 +- .../templates-bootstrap/opac/parts/myopac/base.tt2 | 87 +-- .../templates-bootstrap/opac/parts/place_hold.tt2 | 2 +- .../opac/parts/place_hold_result.tt2 | 4 +- .../opac/parts/qtype_selector.tt2 | 3 +- .../opac/parts/record/cnbrowse.tt2 | 15 +- .../opac/parts/record/extras.tt2 | 2 +- .../opac/parts/record/navigation.tt2 | 4 +- .../opac/parts/record/summary.tt2 | 8 +- .../opac/parts/result/lowhits.tt2 | 5 +- .../opac/parts/result/table.tt2 | 53 +- .../opac/parts/staff_saved_searches.tt2 | 4 +- .../opac/parts/topnav_links.tt2 | 21 +- Open-ILS/src/templates-bootstrap/opac/register.tt2 | 31 +- Open-ILS/src/templates-bootstrap/opac/results.tt2 | 4 +- Open-ILS/web/js/ui/default/opac/copyloc.js | 42 ++ Open-ILS/web/js/ui/default/opac/simple.js | 26 +- 63 files changed, 1683 insertions(+), 723 deletions(-) create mode 100644 Open-ILS/src/templates-bootstrap/opac/ReadMe.txt create mode 100644 Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 create mode 100644 Open-ILS/src/templates-bootstrap/opac/i18n_strings.tt2 create mode 100644 Open-ILS/src/templates-bootstrap/opac/parts/check_value_selector.tt2 diff --git a/Open-ILS/src/templates-bootstrap/opac/ReadMe.txt b/Open-ILS/src/templates-bootstrap/opac/ReadMe.txt new file mode 100644 index 0000000000..5fd954adf0 --- /dev/null +++ b/Open-ILS/src/templates-bootstrap/opac/ReadMe.txt @@ -0,0 +1,20 @@ +/////////////////////DATEPICKER/////////////////////////////////////////// +
+ +
+ +
+
+ +/////////////////////TOOLTIPS/////////////////////////////////////////// + + + + + + + diff --git a/Open-ILS/src/templates-bootstrap/opac/advanced.tt2 b/Open-ILS/src/templates-bootstrap/opac/advanced.tt2 index 1ca21f6f59..30d27ab1ea 100755 --- a/Open-ILS/src/templates-bootstrap/opac/advanced.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/advanced.tt2 @@ -10,16 +10,6 @@ [% l('Advanced Search') %]
- [% IF pane == 'advanced' %] -

Advanced Search

-

Refine your search by filling out one or more fields to search by below.

- [% ELSIF pane == 'numeric' %] -

Numeric Search

-

Search by a field and numeric identifier.

- [% ELSIF pane == 'expert' %] -

Expert Search

-

Search the MARC record.

- [% END %]
+ [%- END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/mylist/clear.tt2 b/Open-ILS/src/templates-bootstrap/opac/mylist/clear.tt2 index 259ae2b975..793581c3a5 100755 --- a/Open-ILS/src/templates-bootstrap/opac/mylist/clear.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/mylist/clear.tt2 @@ -5,15 +5,15 @@ ctx.page_title = l("Confirm Clearing of Basket") %] [% INCLUDE "opac/parts/searchbar.tt2" %] -
-
-

[% l('Confirm Clearing of Basket') %]

-

[% l('Please confirm that you want to remove all [_1] titles from the basket.', ctx.mylist.size) %] -

- - - -
-
+
+
+

[% l('Confirm Clearing of Basket') %]

+

[% l('Please confirm that you want to remove all [_1] titles from the basket.', ctx.mylist.size) %] +

+ + + +
+
[%- END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/mylist/email.tt2 b/Open-ILS/src/templates-bootstrap/opac/mylist/email.tt2 index a0eeb27a1d..ab47de1531 100755 --- a/Open-ILS/src/templates-bootstrap/opac/mylist/email.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/mylist/email.tt2 @@ -4,28 +4,27 @@ INCLUDE "opac/parts/topnav.tt2"; ctx.page_title = l("Confirm Basket Email") %] - [% INCLUDE "opac/parts/searchbar.tt2" %] -
-
- [% IF ctx.mylist.size %] -

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

-

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

- -
- - -
-
- - -
- [% ELSE %] -
[% l("The basket is empty."); %]
- - [% END %] +[% INCLUDE "opac/parts/searchbar.tt2" %] +
+ [% IF ctx.mylist.size %] +

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

+

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

+ +
+ +
+
+ + +
+ [% ELSE %] +
[% l("The basket is empty."); %]
+ + [% END %] +
[%- END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/mylist/print.tt2 b/Open-ILS/src/templates-bootstrap/opac/mylist/print.tt2 index 84b1106e85..0958dff20f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/mylist/print.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/mylist/print.tt2 @@ -5,28 +5,25 @@ ctx.page_title = l("Confirm Basket Printing") %] [% INCLUDE "opac/parts/searchbar.tt2" %] -
- - [% IF ctx.mylist.size %] -

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

-

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

- -
- - -
-
- - -
- [% ELSE %] -

[% l("The basket is empty."); %]

- - [% END %] - -
+
+ [% IF ctx.mylist.size %] +

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

+

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

+ +
+ + +
+
+ + +
+ [% ELSE %] +

[% l("The basket is empty."); %]

+ + [% END %] +
[%- END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 index b2b3751a69..52b3b5a28e 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/charges.tt2 @@ -1,6 +1,6 @@ [% PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/misc_util.tt2"; - WRAPPER "opac/parts/myopac/prefs_base.tt2"; + WRAPPER "opac/parts/myopac/base.tt2"; myopac_page = "charges"; myopac_main_page = "main"; parent = "charges"; @@ -15,7 +15,6 @@ [% IF ctx.fines.circulation.size > 0 %]
-
@@ -27,6 +26,8 @@
+ + @@ -34,7 +35,7 @@ [% IF myopac_cc_allowed %] - 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 6c67dc5417..d1293bd807 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/messages/list.tt2 @@ -1,24 +1,38 @@

[% l("Messages") %]

- - - [% IF offset != 0 %] limit, offset => (offset - limit)} ) %]'>[% l('Previous') %][% END %] + + + + + +
[% IF ctx.message_update_action.defined %] [% IF ctx.message_update_changed > 0 %] @@ -50,25 +64,31 @@
- - - + + +
[% IF count < 1 %]
[% l('No messages found.') %]
[% ELSE %] +
+ + +
+ @@ -113,7 +114,7 @@ - [% l('(fines accruing)') %] + [% l('(fines accruing)') %] [% END %] @@ -132,18 +133,26 @@

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

- + + [% IF myopac_cc_allowed %] +
+ + +
+ [% END %] [% IF myopac_cc_allowed %] - [% END %] @@ -160,17 +169,17 @@ [% c = c + 1; %] [% IF myopac_cc_allowed %] [% END %] -
+ - + aria-label="[% l('Check/Uncheck All') %]" /> + [% l("Owed") %] [% l("Billing Type") %] - Billing Number [% c %] - + + + Amount Owed [% money(f.xact.balance_owed) %] - + @@ -210,17 +219,20 @@ [% IF myopac_cc_allowed %] [% END %] - [% END %] 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 c9b664b263..d685903847 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 @@ -32,7 +32,7 @@
@@ -40,11 +40,18 @@ class="btn btn-action" >[% l('Next') %][% END %]
+
+ + + + + +
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 index 5c97d7bae4..4a9e18908a 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circs.tt2 @@ -27,19 +27,23 @@
- +
+
+ + +
- + [% sort_head("sort_title", l("Title")) %] [% sort_head("author", l("Author")) %]
- @@ -115,7 +119,7 @@ diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/ebook_place_hold.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/ebook_place_hold.tt2 index cefea21a36..2de2d41461 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/ebook_place_hold.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/ebook_place_hold.tt2 @@ -5,12 +5,9 @@ WRAPPER "opac/parts/myopac/base.tt2"; myopac_page = "ebook_place_hold"; %] -

[% l('Place Hold on E-Item') %]

-
-
- [% l('Place Hold on E-Item') %] -
+
+

[% l('Place Hold on E-Item') %]

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 379fffb2b9..a75427aa68 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/hold_history.tt2 @@ -14,24 +14,33 @@
- - [% IF offset != 0 %] limit,offset => (offset - limit)}) %]'>[% l('Previous') %][% END %] + [% l('Export List') %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 index 43feb0d0a2..8d7cd5c7c9 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/holds.tt2 @@ -20,12 +20,11 @@
- [% IF offset != 0 %] limit,offset => (offset - limit)}) %]' - >◄[% l('Previous') %] [% END %] +
- - - + + +

[% IF CGI.param("available") -%] [% l('Show all holds') %] | @@ -41,29 +40,38 @@

-
+
+ [% IF offset != 0 %] limit,offset => (offset - limit)}) %]' + >◄[% l('Previous') %] [% END %] + [% IF offset > 0 || count > limit; curpage = 0; WHILE curpage * limit < count; IF curpage * limit == offset; %] - [% curpage + 1 %] + [% curpage + 1 %] + [%- ELSE %] - limit, offset => (curpage * limit)}) %]' class="np_nav_link classic_link btn btn-outline-primary">[% curpage + 1 %] + limit, offset => (curpage * limit)}) %]' class="np_nav_link classic_link btn btn-action">[% curpage + 1 %] [%- END; curpage = curpage + 1; END; END %] [% IF ctx.hold_suspend_post_capture; l('One or more holds could not be suspended because the item is at (or en route to) the pickup library.'); END; %] + [% IF count > limit + offset %] limit, offset => (offset + limit)}) %]' + >[% l('Next') %]►[% END %] +
-
- [% IF count > limit + offset %] limit, offset => (offset + limit)}) %]' - >[% l('Next') %]►[% END %] -
+
[% IF ctx.holds.size && ctx.holds.size < 1 %]
[% l('No holds found.') %]
[% ELSE %] +
+ + + +
+ - + [% sort_head("sort_title", l("Title")) %] [% sort_head("author", l("Author")) %] [% sort_head("renews", l("Renewals Left")) %]
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 6fa97c95ab..a3fd196dc1 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/holds/edit.tt2 @@ -22,45 +22,43 @@

[% l('Edit Hold') %]

[% l('List all holds') %] +
- [% IF hold; - title = attrs.title; + [% IF hold; title = attrs.title; IF ahr.hold_type == 'P'; title = l('[_1] ([_2])', title, hold.hold.part.label); END - %]
+ %] +

[% title | html %]

[% attrs.author | html %]

- [% IF attrs.format_icon %]

- [% l('Format:') %] + [% IF attrs.format_icon %] + [% l('Format:') %] [% attrs.format_label | html %] -

[% END %]
-

- [% l('Status') %]: [% hold.human_status %] -

- -
- - - - - [% IF hold.hold.status < 3 OR hold.hold.status == 7 %] + +
+ [% IF hold.hold.status < 3 OR hold.hold.status == 7 %] [%# The following actions cannot be performed on holds that have already been captured... %] -
- - - - - - - - - - - + [% END %] - - - - -
- + [% END %] + + +
+
+ [% l('Status') %]: [% hold.human_status %] +
+
+ [% l('Pickup library') %] -
+ [% INCLUDE build_org_selector name='pickup_lib' value=ahr.pickup_lib can_have_vols_only=1 hold_pickup_lib=1 %] -
+ [% l('Cancel unless filled by') %] - +
@@ -68,13 +66,9 @@
-
+ [% l('Active?') %] - + -
+ [% l('If suspended, activate on') %] - +
@@ -97,23 +87,22 @@
-
+ +
+ [% IF hold.metarecord_filters.formats.size OR (hold.metarecord_filters.langs.size.defined && hold.metarecord_filters.langs.size > 1); PROCESS metarecord_hold_filters_selector hold_data=hold; END %] -
- [% l('Go Back') %] - -
+
+
+ [% l('Go Back') %] + +
+ [% ELSE; l('Hold not found'); diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/list/update.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/list/update.tt2 index 2275df6592..f12dade63d 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/list/update.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/list/update.tt2 @@ -8,37 +8,30 @@ [% IF ctx.bucket_action_failed %]
- -
- [% l("Problem with list management:") %] -
- -
-
    - [% IF ctx.bucket_action == 'create' %] - [% IF ctx.bucket_failure_noname %] -
  • [% l('A list name is required') %]
  • - [% END %] - [% END %] -
-
- -
- [% url = ctx.referer; - # The return link should return the user to the page where the edit - # failure occurred. - # mkurl() does not support 'page' params w/ existing CGI params. - # build the URL manually. - IF ctx.where_from; - from = ctx.where_from | uri; - IF url.match('\?'); - url = url _ ';where_from=' _ from; - ELSE; - url = url _ '?where_from=' _ from; - END; - END; %] - [% l('Return') %] -
+

[% l("Problem with list management:") %]

+
+ [% IF ctx.bucket_action == 'create' %] + [% IF ctx.bucket_failure_noname %] +

[% l('A list name is required') %]

+ [% END %] + [% END %] +
+
+ [% url = ctx.referer; + # The return link should return the user to the page where the edit + # failure occurred. + # mkurl() does not support 'page' params w/ existing CGI params. + # build the URL manually. + IF ctx.where_from; + from = ctx.where_from | uri; + IF url.match('\?'); + url = url _ ';where_from=' _ from; + ELSE; + url = url _ '?where_from=' _ from; + END; + END; %] + [% l('Return') %] +
[% 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 e445964715..4cb82285b0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -82,7 +82,7 @@
- [% IF CGI.param('from_basket'); %] + [% IF CGI.param('from_basket'); %]

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

[% INCLUDE "opac/parts/anon_list.tt2" %] [% ELSE %] @@ -171,7 +171,7 @@ [% IF ctx.where_from %] [% END %] - + [% END %] @@ -267,22 +267,24 @@
[% IF bbag.items.size %]
- - [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - - [% IF CGI.param('list_none_selected') %] - [% l('No items were selected') %] - [% END %] + + + +
[% END %]
+
+ + + + + +
@@ -455,5 +457,6 @@ [% END %][% END %] + [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 index f58163a447..fb5afdc535 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main.tt2 @@ -13,60 +13,61 @@

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

-
- - - - - - - - - - - - - - - - -
[% l("Account Expiration Date - ") %] - +
+
+ + [% l("Account Expiration Date - ") %] [% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %] - [% IF ctx.expired_card %] +
+
+ [% IF ctx.expired_card %] [% l("
Your library card has expired.
Please contact a librarian to resolve this issue.", fmt_expire_date) %]
[% END %] -
+
+
+
+
+ +
+ [% content %] 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 84111975d9..421f390125 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/main_payments.tt2 @@ -13,7 +13,7 @@ @@ -23,9 +23,10 @@
[% IF ctx.payments.size > limit %] [% l('Next') %] ► + >[% l('Next') %] ► + [% END %] - +
@@ -55,11 +56,11 @@ Receipt Options:
- +
- +
- + - + @@ -77,7 +97,7 @@ [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/messages/single_message.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/messages/single_message.tt2 index d94e8238c5..2d749734a3 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/messages/single_message.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/messages/single_message.tt2 @@ -1,7 +1,5 @@
- -

[% l("Messages") %]

- +

[% l("Messages") %]

@@ -24,27 +22,23 @@ - -
- + - [% l('Date') %] [% l('Library') %] [% l('Subject') %]
Message Number [% count; %] + [% html_text_attr('aria-label', l('Select message [_1]', message.title)) %]/> Date of Message @@ -93,7 +113,7 @@ Message Options - Read + Read
- - - - - - - - - - - - - - - - - - -
[% l("Date") %][% date.format(ctx.parse_datetime(ctx.patron_messages.0.create_date), DATE_FORMAT); %]
[% l("Library") %][% ctx.patron_messages.0.library | html %]
[% l("Subject") %][% ctx.patron_messages.0.title | html %]
[% l("Message") %][% ctx.patron_messages.0.message | html %]
+
+
+ [% l("Date") %] + [% date.format(ctx.parse_datetime(ctx.patron_messages.0.create_date), DATE_FORMAT); %] +
+
+ [% l("Library") %] + [% ctx.patron_messages.0.library | html %] +
+
+ [% l("Subject") %] + [% ctx.patron_messages.0.title | html %] +
+
+ [% l("Message") %] + [% ctx.patron_messages.0.message | html %] +
+
diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 index d69b2c87ad..00cb39ad5b 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/prefs.tt2 @@ -1,5 +1,5 @@ [% PROCESS "opac/parts/header.tt2"; - WRAPPER "opac/parts/myopac/prefs_base.tt2"; + WRAPPER "opac/parts/myopac/base.tt2"; myopac_page = "prefs"; parent="prefs"; prefs_page = 'prefs' %] @@ -117,8 +117,24 @@ [% l("Home Library") %] - [% ctx.user.home_ou.name | html %] - + + [% ctx.get_aou(ctx.user.home_ou.parent_ou).name %]
+ [% ctx.user.home_ou.name | html %]
+ [% ctx.user.home_ou.billing_address.street1 %]
+ [% IF ctx.user.home_ou.billing_address.street2; ctx.user.home_ou.billing_address.street2 _ "
"; END %] + [% ctx.user.home_ou.billing_address.city %], [% ctx.user.home_ou.billing_address.state %] + [% ctx.user.home_ou.billing_address.post_code %]
+
+ + [% IF ctx.user.home_ou.phone; ctx.user.home_ou.phone _ "
"; END %] + + [% IF ctx.user.home_ou.email; ctx.user.home_ou.email _ "
"; END %] + [% lib_url = ctx.get_org_setting(ctx.user.home_ou.id, 'lib.info_url'); + IF lib_url; + ''; lib_url; ''; + END; + %] + [% l("Account Creation Date") %] @@ -129,8 +145,7 @@ [% l("Account Expiration Date") %] [%- IF date.format(ctx.parse_datetime(ctx.user.expire_date), '%s') < date.format(date.now , '%s'); -%] - [% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %] - + [% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %] [% ELSE %] [% date.format(ctx.parse_datetime(ctx.user.expire_date), DATE_FORMAT) %] [% END %] @@ -214,7 +229,7 @@ [% END %] - 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 1a1287b17d..3042aa8027 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 @@ -1,5 +1,5 @@ [% PROCESS "opac/parts/header.tt2"; - WRAPPER "opac/parts/myopac/prefs_base.tt2"; + WRAPPER "opac/parts/myopac/base.tt2"; myopac_page = "prefs_my_lists"; parent="prefs"; prefs_page = 'prefs_my_lists' %] @@ -22,7 +22,7 @@ [%- setting = 'opac.lists_per_page' -%] - + [% UNLESS ctx.user_setting_map.$setting; @@ -67,7 +67,7 @@ [%- setting = 'opac.default_pickup_location'; -%] - + [%- thang = ctx.user.home_ou.id; IF ctx.user_setting_map.$setting; diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/update_email.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/update_email.tt2 index 75244f0559..ce898cfa46 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/update_email.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/update_email.tt2 @@ -31,7 +31,7 @@ [% l('Current Password') %] [% l('New Email') %] - +
[% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/update_password.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/update_password.tt2 index 8343dfe224..dcd8f4cac4 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/update_password.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/update_password.tt2 @@ -34,7 +34,7 @@ [% l('New Password') %] [% l('New Password Again') %] - +
[% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/update_username.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/update_username.tt2 index d39203c7b7..5d40fb65dd 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/update_username.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/update_username.tt2 @@ -32,7 +32,7 @@ [% l('Current Username') %][% ctx.user.usrname | html %] [% l('Current Password') %] [% l('New Username') %] - + 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 e3811cb3db..68ca9f9ef4 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/advanced/expert.tt2 @@ -1,5 +1,6 @@
-
[% l("Expert Search") %]
+

Expert Search

+

Search the MARC record.

@@ -8,14 +9,7 @@
-
- - - - -
+
@@ -34,17 +28,23 @@
+
+ +
- [% l("Add Search Row") %] + [% l("Add Search Row") %] - [%- lib_select_id = "expert_search_library"; -%] - + [%- lib_select_id = "adv_org_selector"; -%] +