From 043a22c2e305b786edc8e6a9a73e8dd234a9335d 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 f2b22ed..c4544cd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -117,7 +117,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 %] @@ -334,45 +333,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 0c298a9..e884609 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