Lines 233-239
Link Here
|
233 |
[% END %] |
233 |
[% END %] |
234 |
[% END %] |
234 |
[% END %] |
235 |
|
235 |
|
236 |
[% IF ( nouser ) %] |
236 |
[% IF ( nouser && shib_only == 0 ) %] |
237 |
<div class="alert alert-warning"> |
237 |
<div class="alert alert-warning"> |
238 |
<h3>Sorry</h3> |
238 |
<h3>Sorry</h3> |
239 |
<p>The userid <strong>[% patronid | html %]</strong> was not found in the database. Please try again.</p> |
239 |
<p>The userid <strong>[% patronid | html %]</strong> was not found in the database. Please try again.</p> |
Lines 404-410
Link Here
|
404 |
<div class="sco_entry" > |
404 |
<div class="sco_entry" > |
405 |
<form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post"> |
405 |
<form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post"> |
406 |
<fieldset> |
406 |
<fieldset> |
407 |
[% IF ( Koha.Preference('SelfCheckoutByLogin') ) %] |
407 |
[% IF ( Koha.Preference('SelfCheckoutByLogin') == 'username' ) %] |
408 |
<legend>Log in to your account</legend> |
408 |
<legend>Log in to your account</legend> |
409 |
<label for="patronlogin">Login:</label> |
409 |
<label for="patronlogin">Login:</label> |
410 |
<input type="text" id="patronlogin" class="focus noEnterSubmit" size="20" name="patronlogin" autocomplete="off"/> |
410 |
<input type="text" id="patronlogin" class="focus noEnterSubmit" size="20" name="patronlogin" autocomplete="off"/> |
Lines 413-419
Link Here
|
413 |
<fieldset class="action"> |
413 |
<fieldset class="action"> |
414 |
<button type="submit" class="btn btn-primary">Log in</button> |
414 |
<button type="submit" class="btn btn-primary">Log in</button> |
415 |
</fieldset> |
415 |
</fieldset> |
416 |
[% ELSE %] |
416 |
[% ELSIF ( Koha.Preference('SelfCheckoutByLogin') == 'cardnumber' ) %] |
417 |
<div class="form-row"> |
417 |
<div class="form-row"> |
418 |
<div class="col-auto"> |
418 |
<div class="col-auto"> |
419 |
<label for="patronid">Please enter your card number:</label> |
419 |
<label for="patronid">Please enter your card number:</label> |