From 961e9fec8793cb024a88b50df0ffd4a2ce97e301 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 11 Apr 2011 16:33:58 +1200 Subject: [PATCH] Bug 5917 : Fixing a bug with categorie.tt Signed-off-by: Chris Cormack --- .../prog/en/modules/admin/categorie.tt | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt index c8460edce4..6031aa25f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt @@ -334,18 +334,17 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% IF ( loo.EnhancedMessagingPreferences ) %] [% IF ( loo.messaging_prefs ) %] - [% FOREACH messaging_pref IN loo.messaging_prefs %] - Item DUE - Advance Notice - Upcoming Events - Hold Filled - Item Check-in - Item Checkout - [% ELSE %]Unknown [% END %] : - [% FOREACH transport IN messaging_pref.transports %] - [% transport.transport %] - [% END %] - [% END %] + [% IF ( messaging_preference.Item_Due ) %]Item Due + [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance Notice + [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming Events + [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold Filled + [% ELSIF ( messaging_preference.Item_Check_in ) %]Item Check-in + [% ELSIF ( messaging_preference.Item_Checkout ) %]Item Checkout + [% ELSE %]Unknown + [% END %] : + [% FOREACH transport IN messaging_pref.transports %] + [% transport.transport %] + [% END %]
[% ELSE %] none -- 2.39.5