Bug 16794: Group the 2 action buttons into the same column

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-07-03 16:07:33 +01:00 committed by Kyle M Hall
parent a50eb52a42
commit 9b399a8061
2 changed files with 7 additions and 6 deletions

View file

@ -23,7 +23,7 @@ jQuery.validator.addMethod( "enrollment_period", function(){
$(document).ready(function() {
$("#table_categorie").dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumnDefs": [{
"aTargets": [-1, -2],
"aTargets": [-1],
"bSortable": false,
"bSearchable": false
}, {
@ -94,4 +94,4 @@ $(document).ready(function() {
}
});
});
});

View file

@ -318,8 +318,7 @@
[% END %]
<th scope="col">Branches limitations</th>
<th scope="col">Default privacy</th>
<th scope="col">&nbsp; </th>
<th scope="col">&nbsp; </th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody>
@ -404,8 +403,10 @@
Forever
[% END %]
</td>
<td class="actions"><a class="btn btn-mini" href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-pencil"></i> Edit</a></td>
<td class="actions"><a class="btn btn-mini" href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-trash"></i> Delete</a></td>
<td class="actions">
<a class="btn btn-mini" href="/cgi-bin/koha/admin/categories.pl?op=add_form&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-pencil"></i> Edit</a>
<a class="btn btn-mini" href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&amp;categorycode=[% category.categorycode |uri %]"><i class="fa fa-trash"></i> Delete</a>
</td>
</tr>
[% END %]
</tbody>