[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 6587 - Tag moderation lost colors
Nicole C. Engard
nengard at bywatersolutions.com
Wed Jul 13 15:56:34 CEST 2011
From: Owen Leonard <oleonard at myacpl.org>
T:T variable scope error. Also correcting T:T
variable error with row numbering.
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
.../intranet-tmpl/prog/en/modules/tags/review.tt | 6 +++---
1 files changed, 3 insertions(+), 3 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 8c53028..7cf3df6 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
@@ -207,12 +207,12 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
</tr>
[% FOREACH tagloo IN tagloop %]
<tr>
- <td class="count">[% offset + __counter__ %]
+ <td class="count">[% offset + loop.count %]
</td>
<td><span><input type="checkbox" value="[% tagloo.term %]" name="tags" [% IF ( approved == 0 ) %] class="pending"[% END %] /></span>
</td>
- [% IF ( approved == -1 ) %]<td class="red">rejected
- [% ELSIF ( approved == 1 ) %]<td class="green"><img alt="OK" src="/intranet-tmpl/prog/img/approve.gif" />
+ [% IF ( tagloo.approved == -1 ) %]<td class="red">rejected
+ [% ELSIF ( tagloo.approved == 1 ) %]<td class="green"><img alt="OK" src="/intranet-tmpl/prog/img/approve.gif" />
[% ELSE %]<td class="pending">
[% END %]
</td>
--
1.7.2.3
More information about the Koha-patches
mailing list