mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
42 lines
1.4 KiB
Twig
42 lines
1.4 KiB
Twig
{% extends 'ChillMainBundle::Admin/layout_permissions.html.twig' %}
|
|
|
|
{% block title %}{{ 'Permissions group list'|trans }}{% endblock %}
|
|
|
|
{% block admin_content -%}
|
|
<h1>{{ 'Permissions group list'|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><a href="{{ path('admin_permissionsgroup_show', { 'id': entity.id }) }}">{{ entity.name }}</a></td>
|
|
<td>
|
|
<ul class="record_actions">
|
|
<li>
|
|
<a href="{{ path('admin_permissionsgroup_show', { 'id': entity.id }) }}" class="sc-button bt-see">{{ 'See'|trans }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ path('admin_permissionsgroup_edit', { 'id': entity.id }) }}" class="sc-button bt-edit">{{ 'Edit'|trans }}</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<ul class="record_actions">
|
|
<li>
|
|
<a href="{{ path('admin_permissionsgroup_new') }}" class="sc-button bt-create">
|
|
{{ 'Create a new permissions group'| trans }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|