Fix for Bug 6458 - incorrect parsing result in translation processing
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Aug 2011 20:15:34 +0000 (16:15 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 13 Sep 2011 22:00:40 +0000 (10:00 +1200)
Fixing improperly nested template logic inside HTML tags in
branch transfer limits template.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt

index cf7ada3..5bb5185 100644 (file)
                                        [% FOREACH to_branch_loo IN codes_loo.to_branch_loop %]
                                                [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
                                                        <td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td>
-                                                       <td><input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" [% IF ( to_branch_loo.isChecked ) %]checked="checked" [% END %] /></td>
+                                                       <td>
+                                                       [% IF ( to_branch_loo.isChecked ) %]
+                                                               <input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" checked="checked" />
+                                                       [% ELSE %]
+                                                               <input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" />
+                                                       [% END %]
+                                                       </td>
                                                </tr>
                                        [% END %]
                        </tbody>