Bug 11578: QA follow-up
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 28 Apr 2014 17:52:29 +0000 (19:52 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 3 May 2014 18:16:11 +0000 (18:16 +0000)
This patch removes the error raised by tt_valid
 FAIL   koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
   FAIL   tt_valid
                lines 310

Actually, it fails because translate script does not match strings in
attribute value. In this case, we don't want to translate. This fix is
not necessary.

This patch also adds the licence for the new jQuery treetable plugin.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt

index d5b1ef0..3092cb7 100644 (file)
 
             <p>Copyright &copy; 2003-2010 phpMyAdmin devel team</p>
 
+            <h2>jQuery treetable Plugin</h2>
+
+            <p>The <a href="http://ludo.cubicphuse.nl/jquery-treetable/">jQuery treetable Plugin 3.1.0</a> is released under MIT license by Ludo van den Boom.</p>
 
             <h2>OpenJS Keyboard Shortcuts Library</h2>
 
index 880ce2e..6d2703c 100644 (file)
@@ -307,7 +307,11 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget")
     </tfoot>
     <tbody>
     [% FOREACH budget IN budgets %]
-    <tr data-tt-id="[% budget.budget_id %]" [% IF ( budget.budget_parent_id ) %]data-tt-parent-id="[% budget.budget_parent_id %]"[% END %]>
+    [% IF budget.budget_parent_id %]
+      <tr data-tt-id="[% budget.budget_id %]" data-tt-parent-id="[% budget.budget_parent_id %]">
+    [% ELSE %]
+      <tr data-tt-id="[% budget.budget_id %]">
+    [% END %]
     <td>[% budget.budget_period_active %]</td>
     <td>Budget [% budget.budget_period_description %]</td>
     <td>[% budget.budget_code_indent %]</td>