[BS5] jquery datatable - add classes to action column

This commit is contained in:
FreddleSpl0it
2022-06-08 15:31:10 +02:00
parent df56d73cec
commit fdb56de0a8
4 changed files with 21 additions and 21 deletions

View File

@@ -48,7 +48,7 @@ jQuery(function($){
item.notified = '✖';
}
if (acl_data.login_as === 1) {
item.action = '<div class="btn-group footable-actions">' +
item.action = '<div class="btn-group">' +
'<a href="#" data-item="' + encodeURI(item.id) + '" class="btn btn-xs btn-xs-half btn-info show_qid_info"><i class="bi bi-box-arrow-up-right"></i> ' + lang.show_item + '</a>' +
'<a href="#" data-action="delete_selected" data-id="del-single-qitem" data-api-url="delete/qitem" data-item="' + encodeURI(item.id) + '" class="btn btn-xs btn-xs-half btn-danger"><i class="bi bi-trash"></i> ' + lang.remove + '</a>' +
'</div>';