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 117-123 Link Here
117
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
117
                                [% IF ( BORROWER_INF.amountlessthanzero ) %]<li><a href="#opac-user-fines">Credits ([% BORROWER_INF.amountoutstanding %])</a></li>[% END %]
118
                            [% END %]
118
                            [% END %]
119
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
119
                            [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]<li><a href="#opac-user-waiting">Waiting ([% waiting_count %])</a></li>[% END %][% END %]
120
                            [% IF ( reserves_count ) %]<li><a href="#opac-user-holds">Holds ([% reserves_count %])</a></li>[% END %]
120
                            [% IF ( RESERVES.count ) %]<li><a href="#opac-user-holds">Holds ([% RESERVES.count %])</a></li>[% END %]
121
                        </ul>
121
                        </ul>
122
122
123
                        <div id="opac-user-checkouts">
123
                        <div id="opac-user-checkouts">
Lines 498-507 Link Here
498
                        [% END # /overdues_count %]
498
                        [% END # /overdues_count %]
499
499
500
500
501
                        [% IF ( reserves_count ) %]
501
                        [% IF ( RESERVES.count ) %]
502
                            <div id="opac-user-holds">
502
                            <div id="opac-user-holds">
503
                                <table id="holdst" class="table table-bordered table-striped">
503
                                <table id="holdst" class="table table-bordered table-striped">
504
                                    <caption>Holds <span class="count">([% reserves_count %] total)</span></caption>
504
                                    <caption>Holds <span class="count">([% RESERVES.count %] total)</span></caption>
505
                                    <!-- RESERVES TABLE ROWS -->
505
                                    <!-- RESERVES TABLE ROWS -->
506
                                    <thead>
506
                                    <thead>
507
                                        <tr>
507
                                        <tr>
Lines 686-692 Link Here
686
                                </div>
686
                                </div>
687
                            [% END %]
687
                            [% END %]
688
                        </div> <!-- / #opac-user-holds -->
688
                        </div> <!-- / #opac-user-holds -->
689
                        [% END # / #reserves_count %]
689
                        [% END # / #RESERVES.count %]
690
                    </div> <!-- /#opac-user-views -->
690
                    </div> <!-- /#opac-user-views -->
691
                </div> <!-- /#userdetails -->
691
                </div> <!-- /#userdetails -->
692
            </div> <!-- /.span10 -->
692
            </div> <!-- /.span10 -->
(-)a/opac/opac-user.pl (-2 lines)
Lines 280-286 my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); Link Here
280
280
281
$template->param(
281
$template->param(
282
    RESERVES       => $reserves,
282
    RESERVES       => $reserves,
283
    reserves_count => $reserves->count(),
284
    showpriority   => $show_priority,
283
    showpriority   => $show_priority,
285
    WAITING        => $reserves->waiting()
284
    WAITING        => $reserves->waiting()
286
);
285
);
287
- 

Return to bug 13918