From: Galen Charlton Date: Fri, 10 Aug 2018 22:05:50 +0000 (-0400) Subject: change visible labeling of 'Cart' to 'Basket' X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e8e7ed1eef705859f9a3eca2247c418a6474d3d2;p=working%2FEvergreen.git change visible labeling of 'Cart' to 'Basket' Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index d8780fa4f1..76ea1bdd6b 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1034,12 +1034,12 @@ tr.result_table_row > td.result_table_pic_header { .result_table_row_selected { background-color: [% css_colors.item_selected %]; } -#selected_records_summary, #clear_cart { +#selected_records_summary, #clear_basket { margin-left: 5em; } -/* styles for the cart */ -#record_cart { +/* styles for the basket */ +#record_basket { [% IF rtl == 't' -%] float: left; margin-left: 5em; @@ -1048,7 +1048,7 @@ tr.result_table_row > td.result_table_pic_header { margin-right: 5em; [% END; %] } -#record_cart_icon { +#record_basket_icon { [% IF rtl == 't' -%] float: left; margin-left: 2em; @@ -1058,7 +1058,7 @@ tr.result_table_row > td.result_table_pic_header { [% END; %] position: relative; } -#record_cart_count_floater { +#record_basket_count_floater { background-color: [% css_colors.accent_lighter %]; position: absolute; top: -3px; @@ -1066,10 +1066,10 @@ tr.result_table_row > td.result_table_pic_header { z-index: 2; border-radius: 50%; } -#record_cart_count_floater a { +#record_basket_count_floater a { text-decoration: none; } -#cart_actions { +#basket_actions { [% IF rtl == 't' -%] float: left; [% ELSE; %] @@ -1083,7 +1083,7 @@ tr.result_table_row > td.result_table_pic_header { border: 1px solid [% css_colors.primary %]; background-color: [% css_colors.primary_fade %]; } -#cart_actions a { +#basket_actions a { color: [% css_colors.button_text %]; text-decoration: none; } @@ -2470,7 +2470,7 @@ a.preflib_change { background-color: [% css_colors.accent_ultralight %] !important; color: [% css_colors.primary %] !important; } -/* Styles for the cart entry. */ +/* Styles for the basket entry. */ .popmenu li:hover li[class~="temporary"] a { background-color: [% css_colors.primary %]; color: [% css_colors.accent_ultralight %]; diff --git a/Open-ILS/src/templates/opac/mylist.tt2 b/Open-ILS/src/templates/opac/mylist.tt2 index f4d5ddd225..25cb8b1760 100644 --- a/Open-ILS/src/templates/opac/mylist.tt2 +++ b/Open-ILS/src/templates/opac/mylist.tt2 @@ -4,7 +4,7 @@ INCLUDE "opac/parts/topnav.tt2"; ctx.metalinks.push(''); ctx.page_title = l("Record Detail") %] -

[% l('Cart') %]

+

[% l('Basket') %]

[% INCLUDE "opac/parts/searchbar.tt2" %]
@@ -13,7 +13,7 @@ [% IF ctx.mylist.size; INCLUDE "opac/parts/anon_list.tt2"; ELSE %] -
[% l("The cart is empty."); %]
+
[% l("The basket is empty."); %]
[% END %]
diff --git a/Open-ILS/src/templates/opac/mylist/clear.tt2 b/Open-ILS/src/templates/opac/mylist/clear.tt2 index 1556766d0b..7795c485b4 100644 --- a/Open-ILS/src/templates/opac/mylist/clear.tt2 +++ b/Open-ILS/src/templates/opac/mylist/clear.tt2 @@ -2,18 +2,18 @@ PROCESS "opac/parts/misc_util.tt2"; WRAPPER "opac/parts/base.tt2"; INCLUDE "opac/parts/topnav.tt2"; - ctx.page_title = l("Confirm Clearing of Cart") %] -

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

+ ctx.page_title = l("Confirm Clearing of Basket") %] +

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

[% INCLUDE "opac/parts/searchbar.tt2" %]
-

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

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

- +
diff --git a/Open-ILS/src/templates/opac/mylist/email.tt2 b/Open-ILS/src/templates/opac/mylist/email.tt2 index 4229a089c0..04a7a3bdea 100644 --- a/Open-ILS/src/templates/opac/mylist/email.tt2 +++ b/Open-ILS/src/templates/opac/mylist/email.tt2 @@ -2,25 +2,25 @@ PROCESS "opac/parts/misc_util.tt2"; WRAPPER "opac/parts/base.tt2"; INCLUDE "opac/parts/topnav.tt2"; - ctx.page_title = l("Confirm Cart Email") %] -

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

+ ctx.page_title = l("Confirm Basket Email") %] +

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

[% INCLUDE "opac/parts/searchbar.tt2" %]
[% IF ctx.mylist.size %] -

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

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

- - + +
- +
[% ELSE %] -
[% l("The cart is empty."); %]
+
[% l("The basket is empty."); %]
[% END %]
diff --git a/Open-ILS/src/templates/opac/mylist/print.tt2 b/Open-ILS/src/templates/opac/mylist/print.tt2 index 7a680e185e..ac53a2106a 100644 --- a/Open-ILS/src/templates/opac/mylist/print.tt2 +++ b/Open-ILS/src/templates/opac/mylist/print.tt2 @@ -2,25 +2,25 @@ PROCESS "opac/parts/misc_util.tt2"; WRAPPER "opac/parts/base.tt2"; INCLUDE "opac/parts/topnav.tt2"; - ctx.page_title = l("Confirm Cart Printing") %] -

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

+ ctx.page_title = l("Confirm Basket Printing") %] +

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

[% INCLUDE "opac/parts/searchbar.tt2" %]
[% IF ctx.mylist.size %] -

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

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

- +
- +
[% ELSE %] -
[% l("The cart is empty."); %]
+
[% l("The basket is empty."); %]
[% END %]
diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index 0830cd3c9a..b34bba73eb 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -62,7 +62,7 @@ [% IF ctx.mylist.size %] - + [% END %] [% result_count; result_count = result_count + 1 %]. @@ -485,16 +485,16 @@ END; + title="[% l("Add [_1] to basket", attrs.title) %]" rel="nofollow" vocab=""> - [% l("Add to cart") %] + [% l("Add to basket") %] + title="[% l("Remove [_1] from basket", attrs.title) %]" rel="nofollow" vocab=""> - [% l("Remove from cart") %] + [% l("Remove from basket") %] [% IF ctx.user; INCLUDE "opac/parts/bookbag_actions.tt2"; diff --git a/Open-ILS/src/templates/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2 index ab6dd514c3..53b8dfd8c4 100644 --- a/Open-ILS/src/templates/opac/results.tt2 +++ b/Open-ILS/src/templates/opac/results.tt2 @@ -57,9 +57,9 @@ [% IF ctx.mylist.size %] [% END %] diff --git a/Open-ILS/src/templates/opac/temp_warn.tt2 b/Open-ILS/src/templates/opac/temp_warn.tt2 index 829394d7ff..8fdea970af 100644 --- a/Open-ILS/src/templates/opac/temp_warn.tt2 +++ b/Open-ILS/src/templates/opac/temp_warn.tt2 @@ -2,12 +2,12 @@ PROCESS "opac/parts/misc_util.tt2"; WRAPPER "opac/parts/base.tt2"; INCLUDE "opac/parts/topnav.tt2"; - ctx.page_title = l("Cart Warning") %] -

[% l('Cart Warning') %]

+ ctx.page_title = l("Basket Warning") %] +

[% l('Basket Warning') %]

[% INCLUDE "opac/parts/searchbar.tt2" %]
-

[% l('You are adding to a cart.') %] +

[% l('You are adding to a basket.') %] [% IF ctx.user ; l('This information will disappear when you logout, unless you save it to a permanent list.'); ELSE;