aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig')
-rw-r--r--src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig b/src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig
index ce2a4556..58af3a75 100644
--- a/src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig
+++ b/src/Wallabag/GroupBundle/Resources/views/Manage/index.html.twig
@@ -11,26 +11,28 @@
11 <div class="input-field col s12"> 11 <div class="input-field col s12">
12 <p class="help">{{ 'group.description'|trans|raw }}</p> 12 <p class="help">{{ 'group.description'|trans|raw }}</p>
13 13
14 <table class="bordered"> 14 {% if groups is not empty %}
15 <thead> 15 <table class="bordered">
16 <tr> 16 <thead>
17 <th>{{ 'group.form.name_label'|trans }}</th> 17 <tr>
18 <th>{{ 'group.form.roles_label'|trans }}</th> 18 <th>{{ 'group.form.name_label'|trans }}</th>
19 <th>{{ 'group.list.actions'|trans }}</th> 19 <th>{{ 'group.form.roles_label'|trans }}</th>
20 </tr> 20 <th>{{ 'group.list.actions'|trans }}</th>
21 </thead> 21 </tr>
22 <tbody> 22 </thead>
23 {% for group in groups %} 23 <tbody>
24 <tr> 24 {% for group in groups %}
25 <td>{{ group.name }}</td> 25 <tr>
26 <td></td> 26 <td>{{ group.name }}</td>
27 <td> 27 <td></td>
28 <a href="{{ path('group_edit', { 'id': group.id }) }}">{{ 'group.list.edit_action'|trans }}</a> 28 <td>
29 </td> 29 <a href="{{ path('group_edit', { 'id': group.id }) }}">{{ 'group.list.edit_action'|trans }}</a>
30 </tr> 30 </td>
31 {% endfor %} 31 </tr>
32 </tbody> 32 {% endfor %}
33 </table> 33 </tbody>
34 </table>
35 {% endif %}
34 <br /> 36 <br />
35 <p> 37 <p>
36 <a href="{{ path('group_new') }}" class="waves-effect waves-light btn">{{ 'group.list.create_new_one'|trans }}</a> 38 <a href="{{ path('group_new') }}" class="waves-effect waves-light btn">{{ 'group.list.create_new_one'|trans }}</a>