From 1670bc38d2ae6f1e0b8076b2f2819a0c9002e911 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Oct 2012 11:07:04 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 8707 - tags always say approved Template scope error caused an incorrect state on the approval/rejection buttons when viewing rejected tags. To test, go to Tags and view the list of rejected tags. In the "Actions" column, the "rejected" button should be greyed out, and the "approve" button active. Signed-off-by: Nicole C. Engard --- .../intranet-tmpl/prog/en/modules/tags/review.tt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index 4b68e13..4569525 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -209,7 +209,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } [% offset + loop.count %] - [% IF ( approved == 0 ) %] + [% IF ( tagloo.approved == 0 ) %] [% ELSE %][% END %] [% IF ( tagloo.approved == -1 ) %]rejected @@ -223,7 +223,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } [% IF ( tagloo.approved ) %]