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 118-124 Link Here
118
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
118
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
119
                            [% END %]
119
                            [% END %]
120
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
120
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
121
                            [% IF ( reserves_count ) %]<li><a href="#opac-user-holds">Holds ([% reserves_count %])</a></li>[% END %]
121
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
122
                        </ul>
122
                        </ul>
123
123
124
                        <div id="opac-user-checkouts">
124
                        <div id="opac-user-checkouts">
Lines 497-506 Link Here
497
                        [% END # /overdues_count %]
497
                        [% END # /overdues_count %]
498
498
499
499
500
                        [% IF ( reserves_count ) %]
500
                        [% IF ( RESERVES.count ) %]
501
                            <div id="opac-user-holds">
501
                            <div id="opac-user-holds">
502
                                <table id="holdst" class="table table-bordered table-striped">
502
                                <table id="holdst" class="table table-bordered table-striped">
503
                                    <caption>Holds <span class="count">([% reserves_count %] total)</span></caption>
503
                                    <caption>Holds <span class="count">([% RESERVES.count %] total)</span></caption>
504
                                    <!-- RESERVES TABLE ROWS -->
504
                                    <!-- RESERVES TABLE ROWS -->
505
                                    <thead>
505
                                    <thead>
506
                                        <tr>
506
                                        <tr>
Lines 685-691 Link Here
685
                                </div>
685
                                </div>
686
                            [% END %]
686
                            [% END %]
687
                        </div> <!-- / #opac-user-holds -->
687
                        </div> <!-- / #opac-user-holds -->
688
                        [% END # / #reserves_count %]
688
                        [% END # / #RESERVES.count %]
689
                    </div> <!-- /#opac-user-views -->
689
                    </div> <!-- /#opac-user-views -->
690
                </div> <!-- /#userdetails -->
690
                </div> <!-- /#userdetails -->
691
            </div> <!-- /.span10 -->
691
            </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