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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-4 / +4 lines)
Lines 111-117 Link Here
111
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
111
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
112
                            [% END %]
112
                            [% END %]
113
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
113
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
114
                            [% IF ( reserves_count ) %]<li><a href="#opac-user-holds">Holds ([% reserves_count %])</a></li>[% END %]
114
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
115
                        </ul>
115
                        </ul>
116
116
117
                        <div id="opac-user-checkouts">
117
                        <div id="opac-user-checkouts">
Lines 488-497 Link Here
488
                        [% END # /overdues_count %]
488
                        [% END # /overdues_count %]
489
489
490
490
491
                        [% IF ( reserves_count ) %]
491
                        [% IF ( RESERVES.count ) %]
492
                            <div id="opac-user-holds">
492
                            <div id="opac-user-holds">
493
                                <table id="holdst" class="table table-bordered table-striped">
493
                                <table id="holdst" class="table table-bordered table-striped">
494
                                    <caption>Holds <span class="count">([% reserves_count %] total)</span></caption>
494
                                    <caption>Holds <span class="count">([% RESERVES.count %] total)</span></caption>
495
                                    <!-- RESERVES TABLE ROWS -->
495
                                    <!-- RESERVES TABLE ROWS -->
496
                                    <thead>
496
                                    <thead>
497
                                        <tr>
497
                                        <tr>
Lines 676-682 Link Here
676
                                </div>
676
                                </div>
677
                            [% END %]
677
                            [% END %]
678
                        </div> <!-- / #opac-user-holds -->
678
                        </div> <!-- / #opac-user-holds -->
679
                        [% END # / #reserves_count %]
679
                        [% END # / #RESERVES.count %]
680
                    </div> <!-- /#opac-user-views -->
680
                    </div> <!-- /#opac-user-views -->
681
                </div> <!-- /#userdetails -->
681
                </div> <!-- /#userdetails -->
682
            </div> <!-- /.span10 -->
682
            </div> <!-- /.span10 -->
(-)a/opac/opac-user.pl (-2 lines)
Lines 281-287 my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); Link Here
281
281
282
$template->param(
282
$template->param(
283
    RESERVES       => $reserves,
283
    RESERVES       => $reserves,
284
    reserves_count => $reserves->count(),
285
    showpriority   => $show_priority,
284
    showpriority   => $show_priority,
286
    WAITING        => $reserves->waiting()
285
    WAITING        => $reserves->waiting()
287
);
286
);
288
- 

Return to bug 13918