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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc (+1 lines)
Lines 104-109 Link Here
104
                        <td class="status">
104
                        <td class="status">
105
                            <span class="tdlabel">Status:</span>
105
                            <span class="tdlabel">Status:</span>
106
                            [% IF ( HOLD.is_waiting ) %]
106
                            [% IF ( HOLD.is_waiting ) %]
107
                                <i class="fa fa-exclamation-circle text-warning"></i>
107
                                [% IF ( HOLD.is_at_destination ) %]
108
                                [% IF ( HOLD.is_at_destination ) %]
108
                                    [% IF ( HOLD.found ) %]
109
                                    [% IF ( HOLD.found ) %]
109
                                        Item waiting at <b> [% HOLD.branch.branchname | html %]</b>
110
                                        Item waiting at <b> [% HOLD.branch.branchname | html %]</b>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +14 lines)
Lines 9-17 Link Here
9
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
9
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] &rsaquo; Self checkout </title>
10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
11
<meta name="generator" content="Koha [% Version | html %]" /> <!-- leave this for stats -->
12
<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" />
12
[% IF ( Koha.Preference('OpacFavicon') ) %]
13
<link rel="shortcut icon" href="[% Koha.Preference('OpacFavicon') | url %]" type="image/x-icon" />
14
[% ELSE %]
15
<link rel="shortcut icon" href="[% interface | html %]/[% theme | html %]/images/favicon.ico" type="image/x-icon" />
16
[% END %]
13
[% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %]
17
[% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %]
14
[% Asset.css("lib/jquery/jquery-ui.css") | $raw %]
18
[% Asset.css("lib/jquery/jquery-ui.css") | $raw %]
19
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
15
[% Asset.css("css/sco.css") | $raw %]
20
[% Asset.css("css/sco.css") | $raw %]
16
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
21
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% END %]
17
[% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
22
[% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
Lines 254-260 Link Here
254
                        <div class="tabbable">
259
                        <div class="tabbable">
255
                            <ul class="nav nav-tabs">
260
                            <ul class="nav nav-tabs">
256
                                <li class="active"><a href="#checkouts-tab" data-toggle="tab">Checkouts ([% issues_count | html %])</a></li>
261
                                <li class="active"><a href="#checkouts-tab" data-toggle="tab">Checkouts ([% issues_count | html %])</a></li>
257
                                <li><a href="#holds-tab" data-toggle="tab">Holds ([% HOLDS.count | html %])</a></li>
262
                                <li>
263
                                    <a href="#holds-tab" data-toggle="tab">
264
                                        [% IF waiting_holds_count %]
265
                                            <i class="fa fa-exclamation"></i>
266
                                        [% END %]
267
                                        Holds ([% HOLDS.count | html %])
268
                                    </a>
269
                                </li>
258
                                <li><a href="#account-tab" data-toggle="tab">Fines and charges ([% total | $Price %])</a></li>
270
                                <li><a href="#account-tab" data-toggle="tab">Fines and charges ([% total | $Price %])</a></li>
259
                            </ul>
271
                            </ul>
260
                            <div class="tab-content">
272
                            <div class="tab-content">
(-)a/opac/sco/sco-main.pl (-1 / +6 lines)
Lines 299-304 if ($borrower) { Link Here
299
    }
299
    }
300
300
301
    my $holds = $patron->holds;
301
    my $holds = $patron->holds;
302
    my $waiting_holds_count = 0;
303
304
    while(my $hold = $holds->next) {
305
        $waiting_holds_count++ if $hold->is_waiting;
306
    }
302
307
303
    $template->param(
308
    $template->param(
304
        validuser => 1,
309
        validuser => 1,
Lines 310-315 if ($borrower) { Link Here
310
        patronid => $patronid,
315
        patronid => $patronid,
311
        patronlogin => $patronlogin,
316
        patronlogin => $patronlogin,
312
        patronpw => $patronpw,
317
        patronpw => $patronpw,
318
        waiting_holds_count => $waiting_holds_count,
313
        noitemlinks => 1 ,
319
        noitemlinks => 1 ,
314
        borrowernumber => $borrower->{'borrowernumber'},
320
        borrowernumber => $borrower->{'borrowernumber'},
315
        SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'),
321
        SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'),
316
- 

Return to bug 22538