From 9948e2c142625c412603fd952b48a0e8ea83a774 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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 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 ) %]