mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 19:22:08 -06:00
85 lines
4.3 KiB
Twig
85 lines
4.3 KiB
Twig
{% extends "./layout/default.twig" %}
|
|
|
|
{% block breadcrumbs %}
|
|
{{ Breadcrumbs.renderIfExists }}
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
<div class="box box-primary">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{{ 'all_users'|_ }}</h3>
|
|
</div>
|
|
<div class="box-body table-responsive no-padding">
|
|
<table class="table table-condensed table-sortable">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2"> </th>
|
|
<th>{{ trans('list.email') }}</th>
|
|
<th>{{ trans('list.registered_at') }}</th>
|
|
<th>{{ trans('list.is_admin') }}</th>
|
|
<th>{{ trans('list.has_two_factor') }}</th>
|
|
<th>{{ trans('list.is_activated') }}</th>
|
|
<th>{{ trans('list.is_blocked') }}</th>
|
|
<th>{{ trans('list.blocked_code') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td>~</td>
|
|
<td>#{{ user.id }}</td>
|
|
<td>{{ user.email }}</td>
|
|
<td>
|
|
{{ user.created_at.formatLocalized(monthAndDayFormat) }}
|
|
{{ user.created_at.format('H:i') }}
|
|
</td>
|
|
<td>
|
|
{% if user.isAdmin %}
|
|
<small class="text-success"><i class="fa fa-fw fa-check"></i></small>
|
|
{% else %}
|
|
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if user.has2FA %}
|
|
<small class="text-success"><i class="fa fa-fw fa-check"></i></small>
|
|
{% else %}
|
|
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if user.activated %}
|
|
<small class="text-success"><i class="fa fa-fw fa-check"></i></small>
|
|
{% else %}
|
|
<small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if user.blocked == 1 %}
|
|
<small class="text-danger"><i class="fa fa-fw fa-check" title="{{ 'yes'|_ }}"></i></small>
|
|
{% else %}
|
|
<small class="text-success"><i class="fa fa-fw fa-times" title="{{ 'no'|_ }}"></i></small>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
<small>
|
|
{% if user.blocked == 1 %}
|
|
{% if user.blocked_code == "" %}
|
|
<em>~</em>
|
|
{% else %}
|
|
{{ user.blocked_code }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</small>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|