Fix for Bug 6587 - Tag moderation lost colors

T:T variable scope error. Also correcting T:T
variable error with row numbering.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2011-07-13 09:56:34 -04:00 committed by Chris Cormack
parent 1b0a8e997b
commit 05e90ad0f4
1 changed files with 3 additions and 3 deletions

View File

@ -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>