mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
40 lines
1.3 KiB
Twig
40 lines
1.3 KiB
Twig
{% extends '@ChillMain/Admin/layoutWithVerticalMenu.html.twig' %}
|
|
|
|
{% block title %}{{ 'List circles'|trans }}{% endblock %}
|
|
|
|
{% block admin_content -%}
|
|
<h1>{{ 'List circles'|trans }}</h1>
|
|
|
|
<table class="records_list">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ 'Name'|trans }}</th>
|
|
<th>{{ 'Actions'|trans }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for entity in entities %}
|
|
<tr>
|
|
<td>{{ entity.name|localize_translatable_string }}</td>
|
|
<td>
|
|
<ul class="record_actions">
|
|
<li>
|
|
<a href="{{ path('admin_scope_edit', { 'id': entity.id }) }}" class="btn btn-edit">{{ 'edit'|trans }}</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<ul class="record_actions sticky-form-buttons">
|
|
<li class='cancel'>
|
|
<a href="{{ path('chill_main_admin_central') }}" class="btn btn-cancel">{{'Back to the admin'|trans}}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('admin_scope_new') }}" class="btn btn-create">{{ 'Create a new circle'|trans }}</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|