289f0e8051
The help page was missing the fixes from bug 28488. The missing libraries are causing a JavaScript error on the page and likely other issues. To test: * Make sure WebBasedSelfCheck is activated and configured Note: In ktd you don't need to configure anything, it's already set up. * In the OPAC, go to: /cgi-bin/koha/sco/sco-main.pl * Click on the link to the help in the top right corner * Verify you see the error in the console: jQuery.Deferred exception: __ is not defined * Apply patch * Restart things * Reload the page * Veriy the errors are gone Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
74 lines
3.3 KiB
Text
74 lines
3.3 KiB
Text
[% USE raw %]
|
|
[% USE Koha %]
|
|
[% USE Asset %]
|
|
[% USE KohaDates %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Self checkout help › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
|
|
<link rel="shortcut icon" href="[% IF ( Koha.Preference('OpacFavicon') ) %][% Koha.Preference('OpacFavicon') | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" />
|
|
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
|
|
[% Asset.css("css/sco.css") | $raw %]
|
|
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
|
|
[% IF ( SCOUserCSS ) %]<style>[% SCOUserCSS | $raw %]</style>[% END %]
|
|
<script>
|
|
var Koha = {};
|
|
function _(s) { return s } // dummy function for gettext
|
|
</script>
|
|
[% IF lang && lang != 'en' %]
|
|
[% Asset.js(lang _ '/js/locale_data.js') | $raw %]
|
|
[% END %]
|
|
[% Asset.js('js/Gettext.js') | $raw %]
|
|
[% Asset.js('js/i18n.js') | $raw %]
|
|
</head>
|
|
<body id="sco_help" class="sco">
|
|
[% INCLUDE 'masthead-sco.inc' %]
|
|
|
|
<div class="main">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col order-first order-md-first order-lg-2">
|
|
<h1>Self checkout help</h1>
|
|
|
|
[% IF ( SelfCheckHelpMessage ) %]
|
|
<div id="selfcheckhelpmessage">
|
|
[% SelfCheckHelpMessage | $raw %]
|
|
</div>
|
|
[% END %]
|
|
|
|
<div id="selfcheckdefaulthelpmessage">
|
|
<p>If this is your first time using the self checkout system, or if the system
|
|
is not behaving as expected, you may want to refer to this guide to get
|
|
yourself started.</p>
|
|
|
|
<h2>Step one: Enter your user ID[% IF ( SelfCheckoutByLogin ) %] and password[% END %]</h2>
|
|
|
|
<p>Enter your user ID[% IF ( SelfCheckoutByLogin ) %] and password[% END %], and click the
|
|
submit button (or press the enter key).</p>
|
|
|
|
<h2>Step two: Scan the barcode for each item, one at a time</h2>
|
|
|
|
<p>Scan each item and wait for the page to reload before scanning the next item.
|
|
The checked-out item should appear in your checkouts list.
|
|
The submit button only needs to be clicked if you enter the barcode manually.</p>
|
|
|
|
<h2>Step three: Click the 'Finish' button</h2>
|
|
|
|
<p>If you do not click the 'Finish' button, your session will automatically expire in
|
|
[% SelfCheckTimeout | html %] seconds.</p>
|
|
</div>
|
|
|
|
<div class="button">
|
|
<a href="javascript:history.go(-1)">Return to the self-checkout</a>
|
|
</div>
|
|
|
|
</div> <!-- / .col -->
|
|
</div> <!-- / .row -->
|
|
</div> <!-- / .container-fluid -->
|
|
</div> <!-- / .main -->
|
|
|
|
[% INCLUDE 'opac-bottom.inc' %]
|
|
[% BLOCK jsinclude %]
|
|
[% IF ( SCOUserJS ) %]<script>[% SCOUserJS | $raw %]</script>[% END %]
|
|
[% END %]
|