add translations
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col mb-5">
|
||||
<h4>Filtres</h4>
|
||||
<h4>{% trans %}title_filter{% endtrans %}</h4>
|
||||
|
||||
{% if id is null or id == '*' %}
|
||||
<h5>Type: </h5>
|
||||
<h5>{% trans %}title_type{% endtrans %}: </h5>
|
||||
<a href="{{ path('admin_watchdog', {type:'*', id: id, action: action}) }}" class="btn btn-{{type == '*' ? 'info' : 'primary'}} m-1">*</a>
|
||||
{% for t in buttonsType %}
|
||||
{% set btntype = t.objectClass|replace({'App\\Entity\\': ''}) %}
|
||||
@@ -18,12 +18,12 @@
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
<a href="{{ path('admin_watchdog', {type: type, id: '*', action: action}) }}" class="btn btn-warning m-1">back to list</a>
|
||||
<a href="{{ path('admin_watchdog', {type: type, id: '*', action: action}) }}" class="btn btn-warning m-1">{% trans %}button_back{% endtrans %}</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if buttonsAction != null %}
|
||||
<h5>Action: </h5>
|
||||
<h5>{% trans %}title_actions{% endtrans %}: </h5>
|
||||
<a href="{{ path('admin_watchdog',{type: type, id: id, action: '*'}) }}" class="btn btn-{{action == '*' ? 'info' : 'primary'}} m-1">*</a>
|
||||
{% for a in buttonsAction %}
|
||||
<a href="{{ path('admin_watchdog',{type: type, id: id, action: a.action }) }}" class="btn btn-{{action == a.action ? 'info' : 'primary'}} m-1">{{ a.action }}</a>
|
||||
|
||||
Reference in New Issue
Block a user