clarify warning message when cart is empty
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 13 Jun 2018 20:52:27 +0000 (16:52 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 13 Jun 2018 20:52:27 +0000 (16:52 -0400)
Since the idiom is changing from "creating a temporary list"
to "filling a cart that always exists, but might be empty", adjust
the warning message accordingly.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/mylist.tt2
Open-ILS/src/templates/opac/mylist/email.tt2
Open-ILS/src/templates/opac/mylist/print.tt2

index 650786c..f4d5ddd 100644 (file)
@@ -13,7 +13,7 @@
             [%  IF ctx.mylist.size;
                     INCLUDE "opac/parts/anon_list.tt2";
                 ELSE %]
-                <div class="warning_box">[% l("You have not created a cart yet."); %]</div>
+                <div class="warning_box">[% l("The cart is empty."); %]</div>
                 <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
                 [% END %]
             <div class="common-full-pad"></div>        
index 773ea8d..4229a08 100644 (file)
@@ -20,7 +20,7 @@
              <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_cart_cancel" class="opac-button" />
              </form>
           [% ELSE %]
-            <div class="warning_box">[% l("You have not created a cart yet."); %]</div>
+            <div class="warning_box">[% l("The cart is empty."); %]</div>
             <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
           [% END %]
             <div class="common-full-pad"></div>        
index 1916681..7a680e1 100644 (file)
@@ -20,7 +20,7 @@
              <input type="reset" name="cancel" onclick="window.location='[% ctx.referer | html %]'" value="[% l('Cancel') %]" id="clear_cart_cancel" class="opac-button" />
              </form>
           [% ELSE %]
-            <div class="warning_box">[% l("You have not created a cart yet."); %]</div>
+            <div class="warning_box">[% l("The cart is empty."); %]</div>
             <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
           [% END %]
             <div class="common-full-pad"></div>