aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig')
-rw-r--r--src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig b/src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig
new file mode 100644
index 00000000..36d069ce
--- /dev/null
+++ b/src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig
@@ -0,0 +1,31 @@
1{% extends "WallabagCoreBundle::layout.html.twig" %}
2
3{% block title %}{{ 'group.requests.list'|trans }}{% endblock %}
4
5{% block content %}
6<div class="row">
7 <div class="col s12">
8
9 <table class="table">
10 <thead>
11 <tr>
12 <th>{{ 'group.requests.username'|trans }}</th>
13 <th>{{ 'group.requests.action'|trans }}</th>
14 </tr>
15 </thead>
16
17 <tbody>
18 {% for request in requests %}
19 <tr>
20 <td>{{ request.username }}</td>
21 <td>
22 <a class="btn waves-effect" href="{{ path('group-activate', {'group': group.id, 'user': request.id, 'accept': 1}) }}"><i class="material-icons">check</i></a>
23 <a class="btn waves-effect red" href="{{ path('group-activate', {'group': group.id, 'user': request.id, 'accept': 2}) }}"><i class="material-icons">close</i></a>
24 </td>
25 </tr>
26 {% endfor %}
27 </tbody>
28 </table>
29 </div>
30</div>
31{% endblock %}