[Koha-patches] [PATCH] Bug 6458: Incorrect translation processing - rotating_collections/...

Katrin Fischer Katrin.Fischer.83 at web.de
Wed Aug 24 19:46:24 CEST 2011


Patch removes templates directives from HTML tags in the
rotating collections module.

The module is currently not interated into Koha's staff interface.
Fixing templats to make Jenkins happy.
---
 .../en/modules/rotating_collections/addItems.tt    |    3 ++-
 .../rotating_collections/editCollections.tt        |    6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
index 88e6936..410ba47 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
@@ -44,7 +44,8 @@
             <th><label for="barcode">Barcode: </label></td>
             <td><input type="text" id="barcode" name="barcode" /></td>
             <td>
-              <input type="checkbox" name="removeItem" [% IF ( removeChecked ) %]checked[% END %] >
+              [% IF ( removeChecked ) %]<input type="checkbox" name="removeItem" checked="checked" />
+              [% ELSE %]<input type="checkbox" name="removeItem" />[% END %]
               <label for="removeItem">Remove Item from Collection</label>
             </td>
           </tr>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt
index a330423..7a50b4f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt
@@ -89,7 +89,8 @@
                 <label for="title">Title: </label>
               </td>
               <td>
-               <input type="text" name="title" [% IF ( editColTitle ) %] value="[% editColTitle %]" [% END %] />
+                [% IF ( editColTitle ) %]<input type="text" name="title" value="[% editColTitle %]" />
+                [% ELSE %]<input type="text" name="title" />[% END %]
               </td>
             </tr>
         
@@ -98,7 +99,8 @@
                 <label for="description">Description: </label>
               </td>
               <td>
-                <input type="text" size="50" name="description" [% IF ( editColDescription ) %] value="[% editColDescription %]" [% END %] />
+                [% IF (editColDescription ) %]<input type="text" size="50" name="description" value="[ editColDescription %]" />
+                [% ELSE %]<input type="text" size="50" name="description" />[% END %]
               </td>
             </tr>
 
-- 
1.7.4.1



More information about the Koha-patches mailing list