[% IF ctx.mylist.size;
INCLUDE "opac/parts/anon_list.tt2";
ELSE %]
- <div class="opac-auto-171 opac-auto-097">[% l("You have not created a cart yet."); %]</div>
+ <div class="warning_box">[% l("You have not created a cart yet."); %]</div>
+ <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
[% END %]
<div class="common-full-pad"></div>
</div>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
+ [% IF ctx.mylist.size %]
<p class="big-strong">[% l('Please confirm that you want to email the [_1] titles in the cart.', ctx.mylist.size) %]
<form method="post" action="[% mkurl(ctx.opac_root _ '/mylist/doemail', {}, 1) %]">
<input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
alt="[% l('Confirm') %]" class="opac-button" />
<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>
+ <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
+ [% END %]
<div class="common-full-pad"></div>
</div>
</div>
[% INCLUDE "opac/parts/searchbar.tt2" %]
<div id="content-wrapper">
<div id="main-content">
+ [% IF ctx.mylist.size %]
<p class="big-strong">[% l('Please confirm that you want to print the [_1] titles in the cart.', ctx.mylist.size) %]
<form method="post" action="[% mkurl(ctx.opac_root _ '/mylist/doprint', {}, 1) %]">
<input type="hidden" name="redirect_to" value="[% ctx.referer %]" />
alt="[% l('Confirm') %]" class="opac-button" />
<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>
+ <button type="button" class="opac-button" onclick="window.location='[% ctx.referer | html %]'">[% l('Return') %]</button>
+ [% END %]
<div class="common-full-pad"></div>
</div>
</div>