[Koha-patches] [PATCH] Fix for Bug 6458 - incorrect parsing result in translation processing
Owen Leonard
oleonard at myacpl.org
Fri Aug 26 22:17:25 CEST 2011
Fixing improperly nested template logic inside HTML tags in
branch transfer limits template.
---
.../en/modules/admin/branch_transfer_limits.tt | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt
index cf7ada3..5bb5185 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt
@@ -129,7 +129,13 @@
[% 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>
--
1.7.3
More information about the Koha-patches
mailing list