From d9f96ce98c4f5ffd58be3a00063ad9b99fa9644a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 17 Sep 2015 08:36:50 -0400 Subject: [PATCH] Bug 13918 [QA Followup] - Remove dead template code --- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 40 -------------------- opac/opac-user.pl | 1 - 2 files changed, 0 insertions(+), 41 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index d571f83..42a2f3b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -110,7 +110,6 @@ [% IF ( BORROWER_INF.amountoverzero ) %]
  • Fines ([% BORROWER_INF.amountoutstanding %])
  • [% END %] [% IF ( BORROWER_INF.amountlessthanzero ) %]
  • Credits ([% BORROWER_INF.amountoutstanding %])
  • [% END %] [% END %] - [% IF ( waiting_count ) %][% IF ( BORROWER_INF.atdestination ) %]
  • Waiting ([% waiting_count %])
  • [% END %][% END %] [% IF ( RESERVES.count ) %]
  • Holds ([% RESERVES.count %])
  • [% END %] @@ -326,45 +325,6 @@ [% END # / FOREACH BORROWER_INFO %] - [% IF ( waiting_count && atdestination ) %] -
    - - - - - - - - - - - [% FOREACH WAITIN IN WAITING %] - - - - - - - [% END %] - -
    Holds waiting
    TitleHold datePick up library
    [% WAITIN.itemtype %] - - [% WAITIN.waiting_title %] [% FOREACH subtitl IN WAITIN.subtitle %] [% subtitl.subfield %][% END %] - - - [% WAITIN.author %] - - Hold date: - [% WAITIN.reservedate | $KohaDates %] - [% IF ( WAITIN.atdestination ) %] - Waiting at [% WAITIN.branch %] - [% ELSE %] - In transit from [% WAITIN.holdingbranch %] to [% WAITIN.branch %] - [% END %] -
    -
    - [% END # waiting_count && atdestination %] - [% IF ( overdues_count ) %]
    diff --git a/opac/opac-user.pl b/opac/opac-user.pl index c91d57a..e5352f5 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -282,7 +282,6 @@ my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); $template->param( RESERVES => $reserves, showpriority => $show_priority, - WAITING => $reserves->waiting() ); # current alert subscriptions -- 1.7.2.5