Skip to content
Snippets Groups Projects
Commit cb7cc172 authored by Carlos Vega's avatar Carlos Vega
Browse files

fix #436 also remove ordering from columns in mail template

parent ce16c53d
No related branches found
No related tags found
1 merge request!334fix #436 also remove ordering from columns in mail template
Pipeline #44675 passed
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
<tr> <tr>
<th>Id</th> <th>Id</th>
<th>Name</th> <th>Name</th>
<th>Flag</th> <th class="no-sort">Flag</th>
<th>Order</th> <th>Order <i style="margin-left: 5px" title="Languages will be sort on smasch dropdown menus according to their order value." class="fa fa-info-circle"></i></th>
<th>Locale</th> <th>Locale</th>
<th>Edit</th> <th class="no-sort">Edit</th>
<th>Delete</th> <th class="no-sort">Delete</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -69,8 +69,13 @@ ...@@ -69,8 +69,13 @@
"searching": true, "searching": true,
"ordering": true, "ordering": true,
"info": true, "info": true,
"autoWidth": false "autoWidth": false,
"columnDefs": [ {
"targets": 'no-sort',
"orderable": false,
} ]
}); });
$('th > i[title]').tooltip({container: 'body'});
}); });
</script> </script>
{% endblock scripts %} {% endblock scripts %}
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
<tr> <tr>
<th>No.</th> <th>No.</th>
<th>Context</th> <th>Context</th>
<th>Language</th> <th class="no-sort">Language</th>
<th>Name</th> <th>Name</th>
<th>Download</th> <th class="no-sort">Download</th>
<th>Edit</th> <th class="no-sort">Edit</th>
<th>Delete</th> <th class="no-sort">Delete</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -108,7 +108,11 @@ ...@@ -108,7 +108,11 @@
"searching": true, "searching": true,
"ordering": true, "ordering": true,
"info": true, "info": true,
"autoWidth": false "autoWidth": false,
"columnDefs": [ {
"targets": 'no-sort',
"orderable": false,
} ]
}); });
}); });
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment