Merge branch 'bug_7143' into 3.12-master
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / aqbudgetperiods.tt
index 9135f29..244f92f 100644 (file)
@@ -84,7 +84,7 @@
         [% IF ( tab ) %]
             tabs.tabs('select', [% tab %]);
         [% END %]
-        $("table").dataTable($.extend(true, {}, dataTablesDefaults, {
+        $("#activeperiodst,#inactiveperiodst").dataTable($.extend(true, {}, dataTablesDefaults, {
             "aoColumnDefs": [
                 {
                     [% IF ( dateformat == 'metric' ) %]
 
   <div id="budgetsTabs" class="toptabs">
     <ul>
-        <li><a href="#active">Active Budgets</a></li>
-        <li><a href="#inactive">Inactive Budgets</a></li>
+        <li><a href="#active">Active budgets</a></li>
+        <li><a href="#inactive">Inactive budgets</a></li>
     </ul>
 
     <div id="active">
-      <h3>Active Budgets</h3>
       [% IF ( period_active_loop ) %]
         <table id="activeperiodst">
           <thead>
                 <td>
                   <a href="[% script_name %]?op=add_form&amp;budget_period_id=[% period_active.budget_period_id |html %]">Edit</a>
                   <a href="[% script_name %]?op=delete_confirm&amp;budget_period_id=[% period_active.budget_period_id %]">Delete</a>
-                  <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_period_id=[% period_active.budget_period_id %]">Add Fund</a>
+                  <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_period_id=[% period_active.budget_period_id %]">Add fund</a>
                 </td>
                 </tr>
               [% END %]
       <div class="paginationBar">[% active_pagination_bar %]</div>
     </div>
     <div id="inactive">
-      <h3>Inactive Budgets</h3>
       [% IF ( period_inactive_loop ) %]
         <table id="inactiveperiodst">
           <thead>