From: Terran McCanna Date: Tue, 15 Dec 2015 23:22:43 +0000 (-0500) Subject: Numerous local customizations to My Account pages for layout and X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0586db1bdf21b6b8313ebbc2aff13d55a617af74;p=evergreen%2Fpines.git Numerous local customizations to My Account pages for layout and to add on-screen assistance to patrons. Signed-off-by: Terran McCanna Conflicts: Open-ILS/src/templates/opac/myopac/circs.tt2 Open-ILS/src/templates/opac/myopac/holds.tt2 Open-ILS/src/templates/opac/myopac/prefs.tt2 Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index c7420a5816..f5992cc130 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -694,6 +694,7 @@ div.format_icon { #holds_temp_parent td { border-bottom:1px solid [% css_colors.border_standard %]; + padding:0px 3px 0px 10px; } #holds_temp_parent input, #holds_temp_parent select { @@ -961,11 +962,17 @@ div.result_table_utils_cont { padding: 10px; } -#acct_checked_main_header th, #acct_holds_main_header th, #acct_checked_hist_header th, #acct_list_header th, #acct_list_header_anon th, #temp_list_holds th, #acct_messages_main_header th { +#acct_checked_main_header th, #acct_checked_hist_header th, #acct_list_header th, #acct_list_header_anon th, #temp_list_holds th, #acct_messages_main_header th { text-align: left; padding: 0px 10px 0px 10px; } +#acct_holds_main_header tr th { + background: [% css_colors.accent_lighter2 %]; + padding: 10px; + text-align:left; +} + #acct_list_header select, #acct_list_header_anon select { font-weight:normal; text-transform:none; @@ -1006,7 +1013,7 @@ div.result_table_utils_cont { padding-right: 5px; } -.myopac_payments_table th { text-align: left; } +.myopac_payments_table tr th { text-align: left; background-color: [% css_colors.accent_lighter %]; padding:3px;} .myopac_payments_table thead th { border-bottom: 1px dashed [% css_colors.accent_darker %]; } .myopac_payments_table thead th:first-child { width: 8em; } .myopac_payments_table tbody tr:nth-child(odd) { background-color: [% css_colors.accent_lighter %]; } diff --git a/Open-ILS/src/templates/opac/myopac/circ_history.tt2 b/Open-ILS/src/templates/opac/myopac/circ_history.tt2 index 5339b25551..ccfacd2c65 100644 --- a/Open-ILS/src/templates/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/circ_history.tt2 @@ -40,13 +40,13 @@ limit, offset => (offset + limit)}) %]' [% IF no_next %] class='invisible' [% END %] >[% l('Next') %] -
+
[%- INCLUDE "opac/parts/preserve_params.tt2" %] [% IF ctx.circs.size > 0 %] - + [% END %]
diff --git a/Open-ILS/src/templates/opac/myopac/circs.tt2 b/Open-ILS/src/templates/opac/myopac/circs.tt2 index be4fa5b97d..37afd155b3 100644 --- a/Open-ILS/src/templates/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/circs.tt2 @@ -6,7 +6,6 @@

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

-
- --> +
[% l('Items Currently Checked Out') %]
+

If you are having trouble renewing your items, please contact your + local library.

[% IF ctx.circs.size < 1 %] @@ -142,7 +143,7 @@ [% IF circ.circ.renewal_remaining < 1 %] disabled="disabled" [% END %] value="[% circ.circ.id %]" /> - + [% IF circ.circ.target_copy.call_number.id == -1 %] [% circ.circ.target_copy.dummy_title | html %] [% ELSIF circ.ATTRS.title %] diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index 8412f42ddb..c2cfdbe72f 100644 --- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 @@ -21,7 +21,7 @@
- [% l("Previously Held Items") %] + [% l("Previously Requested Items") %] limit,offset => (offset - limit)}) %]' [% IF offset == 0 %] class='invisible' [% END %]>[% l('Previous') %] @@ -56,17 +56,17 @@ title="[% l('History of items on hold') %]"> - [% l('Title') %] - [% l('Author') %] - [% l('Format') %] - [% l('Pickup Location') %] - [% l('Active On') %] - [% l('Active') %] - [% l('Date Fulfilled') %] - [% l('Status') %] + [% l('Title') %] + [% l('Author') %] + [% l('Format') %] + [% l('Pickup Location') %] + [% l('Active On') %] + [% l('Active?') %] + [% l('Date Fulfilled') %] + [% l('Status') %] - + [% FOR hold IN ctx.holds; attrs = {marc_xml => hold.marc_xml}; PROCESS get_marc_attrs args=attrs; @@ -86,8 +86,8 @@ ) %]">[% attrs.author | html %]
- -
+ +
[% IF attrs.format_icon %] [% attrs.format_label | html %] [% END %] diff --git a/Open-ILS/src/templates/opac/myopac/holds.tt2 b/Open-ILS/src/templates/opac/myopac/holds.tt2 index adf4ea514d..d93f3115b1 100644 --- a/Open-ILS/src/templates/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates/opac/myopac/holds.tt2 @@ -29,7 +29,7 @@ [% IF CGI.param("available"); l("Items Ready for Pickup"); ELSE; - l("Items Currently on Hold"); + l("Items Currently On Hold"); END %] @@ -57,6 +57,8 @@ please contact your local library.

+

If you require assistance placing a hold or have a question about a hold that you have placed, please contact your + local library.

@@ -77,6 +79,7 @@ + + -->
[% 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.'); @@ -95,32 +99,33 @@ [% l('Show All Holds') %]   |   [% l("Showing Holds That Are Ready to Pick Up") %] [% ELSE -%] - [% l("Showing All Holds") %]   |   - [% l("Show Holds That Are Ready to Pick Up") %] + [% l("Show all holds") %] | + [% l("Show holds that are ready to pick up") %] [% END -%]
- [% if ctx.holds.size && ctx.holds.size < 1 %] -
[% l('no holds found.') %]
- [% else %] - - + [% IF ctx.holds.size && ctx.holds.size < 1 %] +
[% l('No holds found.') %]
+ [% ELSE %] +
+ - - - - - - - + + + - + + + + + + @@ -188,15 +193,14 @@ +
[% l('Title') %][% l('Author') %][% l('Status') %][% l('Active?') %][% l('Hold Will Activate On') %][% l('Cancel If Not Filled By') %][% sort_head("sort_title", l('Title')) %][% sort_head("author", l('Author')) %][% sort_head("format", l('Format')) %] [% l('Pickup Location') %][% l('Edit Hold Details') %][% l('Activate') %][% l('Cancel if not filled by') %][% l('Active?') %][% l('Status') %][% l('Notes') %][% l('Edit') %]
- [% - title = attrs.title; - IF ahr.hold_type == 'P'; - title = l('[_1] ([_2])', title, hold.hold.part.label); - END; - %] - [% title | html %]
- - +
+
[% formats = attrs.all_formats; IF ahr.hold_type == 'M'; diff --git a/Open-ILS/src/templates/opac/myopac/main.tt2 b/Open-ILS/src/templates/opac/myopac/main.tt2 index 9dc672e1d9..b416bd734e 100644 --- a/Open-ILS/src/templates/opac/myopac/main.tt2 +++ b/Open-ILS/src/templates/opac/myopac/main.tt2 @@ -17,27 +17,23 @@ [% IF ctx.fines.circulation.size > 0 %]
- - +
[% l("Fines") %]
+
+ - - - - - - - - - + + + + + + [% IF myopac_cc_allowed %] - [% END %] @@ -112,29 +108,24 @@


-
- [% l("Fines") %] -
[% l("Title") %][% l("Author") %][% l("Checkout Date") %][% l("Due Date") %][% l("Date Returned") %][% l("Balance Owed") %][% l("Title") %][% l("Author") %][% l("Checkout Date") %][% l("Due Date") %][% l("Date Returned") %][% l("Balance Owed") %] + - +
- +
[% l("Other Fees") %]
+
+ - - - - - - - - - + + + + + + [% IF myopac_cc_allowed %] - + [% END %] diff --git a/Open-ILS/src/templates/opac/myopac/messages/list.tt2 b/Open-ILS/src/templates/opac/myopac/messages/list.tt2 index ba97d6058b..16c81e86df 100644 --- a/Open-ILS/src/templates/opac/myopac/messages/list.tt2 +++ b/Open-ILS/src/templates/opac/myopac/messages/list.tt2 @@ -1,6 +1,8 @@
[% l("Messages") %]
+

If you require assistance, please contact your + local library.

limit, offset => (offset - limit)} ) %]' [% IF offset <= 0 %] class='invisible' [% END %]>[% l('Previous') %] @@ -20,6 +22,7 @@ [% IF count <= limit + offset %] class='invisible' [% END %] >[% l('Next') %]
+
[% IF ctx.message_update_action.defined %] [% IF ctx.message_update_changed > 0 %] @@ -69,12 +72,14 @@ title="[% l('Go') %]" class="opac-button" /> + [% IF count < 1 %]
[% l('No messages found.') %]
diff --git a/Open-ILS/src/templates/opac/myopac/prefs.tt2 b/Open-ILS/src/templates/opac/myopac/prefs.tt2 index aee4e849ae..b296f92531 100644 --- a/Open-ILS/src/templates/opac/myopac/prefs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/prefs.tt2 @@ -5,7 +5,8 @@

[% l('Account Preferences') %]

- +

If you need to change your phone number or address, please visit your + local library.

- [% l("Other Fees") %] -
[% l("Transaction Start Time") %][% l("Last Payment Time") %][% l("Initial Amount Owed") %][% l("Total Amount Paid") %][% l("Balance Owed") %][% l("Billing Type") %][% l("Transaction Start Time") %][% l("Last Payment Time") %][% l("Initial Amount Owed") %][% l("Total Amount Paid") %][% l("Balance Owed") %][% l("Billing Type") %] -
diff --git a/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 b/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 index 2817a7b796..81bd5ffe89 100644 --- a/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 +++ b/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 @@ -65,7 +65,6 @@ %] - [% skip_warn = l('Skip warning when adding to temporary book list?') %] diff --git a/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 b/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 index 13ca4ad3b6..399532069a 100644 --- a/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 +++ b/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 @@ -7,6 +7,8 @@
[% l('Account Summary') %]
+

If you require assistance with your account, please contact your + local library.

diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 0ce3bd5bf2..9e875d03b9 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -179,7 +179,6 @@ value="[% l('Submit') %]" title="[% l('Submit') %]" alt="[% l('Submit') %]" class="opac-button" style="padding:10px 50px 10px 50px;" /> [% END # some_holds_allowed %] - diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index dd6b48bb8b..9b1cf9c143 100644 --- a/Open-ILS/src/templates/opac/parts/topnav.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav.tt2 @@ -26,7 +26,8 @@