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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sco-self.inc (-2 / +2 lines)
Lines 4-10 Link Here
4
    <div class="navbar navbar-inverse navbar-static-top navbar-black">
4
    <div class="navbar navbar-inverse navbar-static-top navbar-black">
5
        <div class="navbar-inner navbar-black">
5
        <div class="navbar-inner navbar-black">
6
            <div class="container-fluid navbar-black">
6
            <div class="container-fluid navbar-black">
7
                <a class="brand" href="/cgi-bin/koha/sco/sco-main.pl"><img src="[% interface %]/[% theme %]/images/koha-logo-navbar.png" alt=""></a>
7
                <a class="brand" href="/cgi-bin/koha/sco/sco-main.pl"><img src="[% interface | html %]/[% theme | html %]/images/koha-logo-navbar.png" alt=""></a>
8
                <div id="checkouthelp">
8
                <div id="checkouthelp">
9
                    <ul class="nav pull-right">
9
                    <ul class="nav pull-right">
10
                        <li><a href="/cgi-bin/koha/sco/help.pl"><i class="icon help"></i> Help</a></li>
10
                        <li><a href="/cgi-bin/koha/sco/help.pl"><i class="icon help"></i> Help</a></li>
Lines 28-34 Link Here
28
        <div class="container-fluid">
28
        <div class="container-fluid">
29
            <div class="row-fluid">
29
            <div class="row-fluid">
30
                <div id="opacheader">
30
                <div id="opacheader">
31
                   [% opacheader %]
31
                   [% opacheader | html %]
32
                </div>
32
                </div>
33
            </div>
33
            </div>
34
        </div>
34
        </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-3 / +3 lines)
Lines 525-531 Link Here
525
                        </div> <!-- / .row -->
525
                        </div> <!-- / .row -->
526
                        [% END # / IF validuser %]
526
                        [% END # / IF validuser %]
527
                    [% END # / UNLESS ( hide_main %]
527
                    [% END # / UNLESS ( hide_main %]
528
                    <b>[% checkinmessage %]</b>
528
                    <b>[% checkinmessage | html %]</b>
529
                    [% IF ( SCOMainUserBlock ) %]
529
                    [% IF ( SCOMainUserBlock ) %]
530
                        <div id="scomainuserblock">
530
                        <div id="scomainuserblock">
531
                            [% PROCESS koha_news_block news => SCOMainUserBlock %]
531
                            [% PROCESS koha_news_block news => SCOMainUserBlock %]
Lines 663-670 Link Here
663
                [% IF Koha.Preference('SelfCheckReceiptPrompt') %]
663
                [% IF Koha.Preference('SelfCheckReceiptPrompt') %]
664
                var confirmStart = Date.now();
664
                var confirmStart = Date.now();
665
                if(confirm(_("Would you like to print a receipt?"))){
665
                if(confirm(_("Would you like to print a receipt?"))){
666
                    if ( (Date.now() - confirmStart) < [% SelfCheckTimeout %] ) {
666
                    if ( (Date.now() - confirmStart) < [% SelfCheckTimeout | html %] ) {
667
                        window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&amp;print=qslip");
667
                        window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber | uri %]&amp;print=qslip");
668
                    }
668
                    }
669
                    else {
669
                    else {
670
                        alert(_("Timeout while waiting for print confirmation"));
670
                        alert(_("Timeout while waiting for print confirmation"));
(-)a/opac/sco/sco-main.pl (-2 / +1 lines)
Lines 133-139 my $daysmode = Koha::CirculationRules->get_effective_daysmode( Link Here
133
    }
133
    }
134
);
134
);
135
my $calendar    = Koha::Calendar->new( branchcode => $userenv_branch, days_mode => $daysmode );
135
my $calendar    = Koha::Calendar->new( branchcode => $userenv_branch, days_mode => $daysmode );
136
my $today       = DateTime->now( time_zone => C4::Context->tz());
136
my $today       = dt_from_string;
137
137
138
my $patronid = $jwt ? Koha::Token->new->decode_jwt({ token => $jwt }) : undef;
138
my $patronid = $jwt ? Koha::Token->new->decode_jwt({ token => $jwt }) : undef;
139
unless ( $patronid ) {
139
unless ( $patronid ) {
140
- 

Return to bug 22322