]>
Commit | Line | Data |
---|---|---|
152fcccd JB |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'user.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"> | |
c37515f8 | 11 | <div class="col s6"> |
152fcccd | 12 | <p class="help">{{ 'user.description'|trans|raw }}</p> |
152fcccd | 13 | </div> |
c37515f8 TC |
14 | <div class="col s6"> |
15 | <div class="input-field"> | |
16 | {{ render(controller("WallabagUserBundle:Manage:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }} | |
17 | </div> | |
18 | </div> | |
19 | ||
20 | <table class="bordered"> | |
21 | <thead> | |
22 | <tr> | |
23 | <th>{{ 'user.form.username_label'|trans }}</th> | |
24 | <th>{{ 'user.form.email_label'|trans }}</th> | |
25 | <th>{{ 'user.form2017-03-10 16:51:07.last_login_label'|trans }}</th> | |
26 | <th>{{ 'user.list.actions'|trans }}</th> | |
27 | </tr> | |
28 | </thead> | |
29 | <tbody> | |
30 | {% for user in users %} | |
31 | <tr> | |
32 | <td>{{ user.username }}</td> | |
33 | <td>{{ user.email }}</td> | |
34 | <td>{% if user.lastLogin %}{{ user.lastLogin|date('Y-m-d H:i:s') }}{% endif %}</td> | |
35 | <td> | |
36 | <a href="{{ path('user_edit', { 'id': user.id }) }}">{{ 'user.list.edit_action'|trans }}</a> | |
37 | </td> | |
38 | </tr> | |
39 | {% endfor %} | |
40 | </tbody> | |
41 | </table> | |
42 | <br /> | |
43 | <p> | |
44 | <a href="{{ path('user_new') }}" class="waves-effect waves-light btn">{{ 'user.list.create_new_one'|trans }}</a> | |
45 | </p> | |
152fcccd JB |
46 | </div> |
47 | </div> | |
48 | </div> | |
49 | </div> | |
50 | ||
51 | {% endblock %} |