aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-04-27 19:17:19 +0200
committerThomas Citharel <tcit@tcit.fr>2017-06-23 09:27:23 +0200
commit5847dd3572caf06c0e0d5e307241c3b6bc3f8611 (patch)
tree8905d4de388dd18239ea323f4650ff0070064eab /src/Wallabag/GroupBundle/Resources/views/Manage/requests.html.twig
parent2585953e0dae631b65c59b0e31196d65bdde84df (diff)
downloadwallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.gz
wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.zst
wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.zip
MOAR WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
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 %}