mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-16 12:10:41 +00:00
152fcccd44
- remove the “add a user” from the config page - add a CRUD on user - fix some missing translations (+ bad indentation)
44 lines
1.8 KiB
Twig
44 lines
1.8 KiB
Twig
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
|
|
|
{% block title %}{{ 'user.manage.page_title'|trans }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<div class="card-panel">
|
|
<div class="row">
|
|
<div class="input-field col s12">
|
|
<p class="help">{{ 'user.manage.description'|trans|raw }}</p>
|
|
|
|
<table class="bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ 'user.manage.field.username'|trans }}</th>
|
|
<th>{{ 'user.manage.field.email'|trans }}</th>
|
|
<th>{{ 'user.manage.field.last_login'|trans }}</th>
|
|
<th>{{ 'user.manage.field.locked'|trans }}</th>
|
|
<th>{{ 'user.manage.action'|trans }}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>{{ user.username }}</td>
|
|
<td>{{ user.email }}</td>
|
|
<td>{{ user.lastLogin|date('d/m/Y H:i:s') }}</td>
|
|
<td>{{ user.locked ? 'yes' : 'no' }}</td>
|
|
<td>edit - delete</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|