diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-13 12:49:00 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-13 12:49:00 +0100 |
commit | 9b5f2866988c507e1befa4b03d55d4b552d25277 (patch) | |
tree | 0d5464c232fa4c3c8ffa53c819a05d1de508afc0 /ishtar_common/templates | |
parent | 2560be73a823739faac2d7423ce325d0b250c291 (diff) | |
download | Ishtar-9b5f2866988c507e1befa4b03d55d4b552d25277.tar.bz2 Ishtar-9b5f2866988c507e1befa4b03d55d4b552d25277.zip |
Syndication table: select/deselect all
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/blocks/DataTables.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html index 19ffd948e..681c91d7d 100644 --- a/ishtar_common/templates/blocks/DataTables.html +++ b/ishtar_common/templates/blocks/DataTables.html @@ -385,7 +385,23 @@ jQuery(document).ready(function(){ "select": { "style": 'multi' }, + {% if export_urls %} + "buttons": [ + { + extend: 'selectAll', + text: '<i class="fa fa-check-circle-o"></i>', + titleAttr: "{% trans 'Select all items' %}" + }, + { + extend: 'selectNone', + text: '<i class="fa fa-times"></i>', + titleAttr: "{% trans 'Deselect' %}" + } + ], + "dom": 'liBtp', + {% else %} "dom": 'litp', + {% endif %} "columns": [ { "data": "id", "visible": false }, { "data": "link", "orderable": false },{% for col in columns %} |