|
- {% extends '@EasyAdmin/default/list.html.twig' %}
-
- {% block content_title %}
- {{ parent() }}
- {% if 'action' in app.request.uri and app.request.get('action') == "listChildren" %}
- <strong>: {{ entity.title }}</strong>
- {% endif %}
- {% endblock %}
- {% block new_action %}
- <div class="button-action">
- <a class="{{ _action.css_class|default('') }}"
- href="{{ path('easyadmin', _request_parameters|merge({ action: _action.name })) }}"
- target="{{ _action.target }}">
- {% if _action.icon %}<i class="fa fa-fw fa-{{ _action.icon }}"></i>{% endif %}
- {{ _action.label is defined and not _action.label is empty ? _action.label|trans(_trans_parameters) }}
- </a>
- {% if _entity_config['list']['edit_position'] is defined %}
- <a class="{{ _action.css_class|default('') }}"
- href="{{ path('easyadmin', _request_parameters|merge({ action: 'sort' })) }}"
- target="{{ _action.target }}">
- Modifier position
- </a>
- {% endif %}
- </div>
-
- {% endblock %}
|