From f191782d9869582fb12ec15bea4a3c36ae4f3552 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 30 Oct 2012 11:07:04 -0400 Subject: [PATCH] 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 Passed-QA-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 4 ++-- 1 file 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 4b68e13746..4569525957 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 ) %]