update crud templates
This commit is contained in:
parent
4764aefb39
commit
6dc3465084
|
@ -157,4 +157,4 @@
|
|||
"Tasks": "Tâches"
|
||||
"Results": "Résultats"
|
||||
"Clean all cache": "Nettoyer tout le cache"
|
||||
"You can sort items by drag & drop": "Vous pouvez trier les élements via un glisser/déposer"
|
||||
"You can sort items with drag & drop": "Vous pouvez trier les élements via un glisser/déposer"
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
<thead class="thead-light">
|
||||
<tr>
|
||||
{% for label, config in configuration.fields(context) %}
|
||||
{% block list_header_item %}
|
||||
{% set attr = config.options.attr is defined ? config.options.attr : [] %}
|
||||
{% set isSortable = config.options.sort ?? false %}
|
||||
|
||||
|
@ -126,6 +127,7 @@
|
|||
{{ label|trans }}
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endblock %}
|
||||
{% endfor %}
|
||||
<th class="col-2 miw-100 text-right">
|
||||
{{ 'Actions'|trans }}
|
||||
|
@ -222,7 +224,7 @@
|
|||
<tr>
|
||||
<td class="col-12 text-black-50 border-0" colspan="{{ configuration.fields(context)|length + 1 }}">
|
||||
<span class="fa fa-hand-pointer"></span>
|
||||
{{ 'You can sort items by drag & drop'|trans }}
|
||||
{{ 'You can sort items with drag & drop'|trans }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue