]>
Commit | Line | Data |
---|---|---|
36f30fa3 NL |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'group.page_title'|trans }}{% endblock %} | |
4 | ||
5 | {% block content %} | |
6 | ||
7 | <div class="row"> | |
8 | <div class="col s12"> | |
9 | <div class="card-panel"> | |
10 | <div class="row"> | |
11 | <div class="input-field col s12"> | |
12 | <p class="help">{{ 'group.description'|trans|raw }}</p> | |
13 | ||
6a50b4cc NL |
14 | {% if groups is not empty %} |
15 | <table class="bordered"> | |
16 | <thead> | |
17 | <tr> | |
18 | <th>{{ 'group.form.name_label'|trans }}</th> | |
19 | <th>{{ 'group.form.roles_label'|trans }}</th> | |
20 | <th>{{ 'group.list.actions'|trans }}</th> | |
21 | </tr> | |
22 | </thead> | |
23 | <tbody> | |
24 | {% for group in groups %} | |
25 | <tr> | |
26 | <td>{{ group.name }}</td> | |
27 | <td></td> | |
28 | <td> | |
29 | <a href="{{ path('group_edit', { 'id': group.id }) }}">{{ 'group.list.edit_action'|trans }}</a> | |
30 | </td> | |
31 | </tr> | |
32 | {% endfor %} | |
33 | </tbody> | |
34 | </table> | |
35 | {% endif %} | |
36f30fa3 NL |
36 | <br /> |
37 | <p> | |
38 | <a href="{{ path('group_new') }}" class="waves-effect waves-light btn">{{ 'group.list.create_new_one'|trans }}</a> | |
39 | </p> | |
2041810a TC |
40 | {% if groups.getNbPages > 1 %} |
41 | {{ pagerfanta(groups, 'twitter_bootstrap_translated', {'proximity': 1}) }} | |
42 | {% endif %} | |
36f30fa3 NL |
43 | </div> |
44 | </div> | |
45 | </div> | |
46 | </div> | |
47 | </div> | |
48 | ||
49 | {% endblock %} |