From e260997753671a47830e2b831bd10eb3261da23e Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 15 Apr 2011 12:33:58 +0100 Subject: [PATCH] Bug 6195 : Opac user should not have serial manage tab Content-Type: text/plain; charset="utf-8" PrepareSerialData adds a year of 'manage' for staff display Opac should not see this Would be better if it returned a cleaner data structure and let the template engine handle the display --- .../prog/en/modules/opac-full-serial-issues.tt | 7 +++++-- opac/opac-serial-issues.pl | 13 ++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt index 9cb5629..a74a4b5 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt @@ -164,8 +164,11 @@ function showlayer(numlayer){ [% FOREACH year IN years %] - [% IF ( year.first ) %] -
[% ELSE %]