From 1dbba29524c04164c6d3392d31db9b6e419be672 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 31 Dec 2015 12:39:33 +0000 Subject: [PATCH] Bug 13918 [QA Followup] - Remove dead template code Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 41 ---------------------- opac/opac-user.pl | 1 - 2 files changed, 42 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 475d4c2..68a1e87 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -116,7 +116,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 %] @@ -333,46 +332,6 @@ [% END %] [% END # / OPACFinesTab %] - [% 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 758b3cb..09f2a32 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -281,7 +281,6 @@ my $reserves = Koha::Holds->search( { borrowernumber => $borrowernumber } ); $template->param( RESERVES => $reserves, showpriority => $show_priority, - WAITING => $reserves->waiting() ); # current alert subscriptions -- 2.1.4