View | Details | Raw Unified | Return to bug 7633
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt (-10 / +12 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryName %] &rsaquo; Self Checkout </title>
1
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self Checkout </title>
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
3
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
4
<link rel="shortcut icon" href="[% themelang %]/includes/favicon.ico" type="image/x-icon" />
4
<link rel="shortcut icon" href="[% themelang %]/includes/favicon.ico" type="image/x-icon" />
Lines 67-73 $(document).ready(function() { Link Here
67
67
68
<div id="masthead"><h1>[% LibraryName %] Self Checkout System</h1></div>
68
<div id="masthead"><h1>[% LibraryName %] Self Checkout System</h1></div>
69
<div id="bd">
69
<div id="bd">
70
    <div class="yui-g">
71
70
72
[% IF ( impossible ) %]<!-- We tried to issue, but failed. -->
71
[% IF ( impossible ) %]<!-- We tried to issue, but failed. -->
73
<div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station.  </p>
72
<div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station.  </p>
Lines 161-170 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
161
160
162
	[% IF ( patronid ) %]
161
	[% IF ( patronid ) %]
163
	[% IF ( validuser ) %]
162
	[% IF ( validuser ) %]
164
	<h3 class="warning">You are logged in as [% borrowername %].</h3>
163
    <h3 class="warning">You are logged in as [% borrowername %].</h3>
165
    [% IF ( display_patron_image ) %]
166
        <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=[% cardnumber %]" alt="" />
167
    [% END %]
168
	[% END %]
164
	[% END %]
169
	</div>
165
	</div>
170
	[% IF ( nouser ) %]
166
	[% IF ( nouser ) %]
Lines 178-183 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
178
	<br />
174
	<br />
179
	[% END %]
175
	[% END %]
180
	[% IF ( validuser ) %]
176
	[% IF ( validuser ) %]
177
  [% IF ( display_patron_image ) %]<div class="yui-ge"><div class="yui-u first">[% END %]
181
	<div id="newcheckout" class="sco_entry">
178
	<div id="newcheckout" class="sco_entry">
182
	<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('[% patronid %]');">
179
	<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit="return checkout_confirm('[% patronid %]');">
183
	<fieldset><legend> Check out[% IF ( AllowSelfCheckReturns ) %], return[% END %] or renew an item: </legend>
180
	<fieldset><legend> Check out[% IF ( AllowSelfCheckReturns ) %], return[% END %] or renew an item: </legend>
Lines 190-196 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
190
	</form>
187
	</form>
191
	<div><form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" ><input type="submit" value="Finish" class="finish" /></form></div>
188
	<div><form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" ><input type="submit" value="Finish" class="finish" /></form></div>
192
	</div> <!-- sco_entry --> <!-- newcheckout -->
189
	</div> <!-- sco_entry --> <!-- newcheckout -->
193
190
  [% IF ( display_patron_image ) %]</div> <!-- /yui-u first -->[% END %]
191
  [% IF ( display_patron_image ) %]
192
  <div class="yui-u">
193
        <img src="/cgi-bin/koha/sco/sco-patron-image.pl?cardnumber=[% cardnumber %]" alt="" />
194
  </div>
195
  [% END %]
196
  </div> <!-- /yui-ge -->
197
  <div class="yui-g">
194
	<div id="borrowerdetails">
198
	<div id="borrowerdetails">
195
	[% IF ( issues_count ) %]
199
	[% IF ( issues_count ) %]
196
	<table id="loanTable"><caption>Checkouts for [% borrowername %] <span class="count">([% issues_count %] total)</span></caption>
200
	<table id="loanTable"><caption>Checkouts for [% borrowername %] <span class="count">([% issues_count %] total)</span></caption>
Lines 233-239 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
233
	[% ELSE %]
237
	[% ELSE %]
234
	<h3>You currently have nothing checked out.</h3>
238
	<h3>You currently have nothing checked out.</h3>
235
	[% END %]
239
	[% END %]
236
240
</div> <!-- /yui-g -->
237
	[% ELSE %]<!-- not validuser -->
241
	[% ELSE %]<!-- not validuser -->
238
	<div class="sco_entry" >
242
	<div class="sco_entry" >
239
	<form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post">
243
	<form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post">
Lines 257-262 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
257
[% END %] <!-- ( / hide main) -->	
261
[% END %] <!-- ( / hide main) -->	
258
	
262
	
259
	</div>
263
	</div>
260
	</div>
261
</div>
264
</div>
262
[% INCLUDE 'opac-bottom.inc' %]
265
[% INCLUDE 'opac-bottom.inc' %]
263
- 

Return to bug 7633