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>
[% 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>
<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>
<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>