{{ 'accounts-note'|text }}
| # | {{ 'photo'|text }} | {{ 'name'|text }} | {{ 'login'|text }} | {{ 'organization'|text }} | {{ 'role2'|text }} | {{ 'status'|text }} | {{ 'action'|text }} |
|---|---|---|---|---|---|---|---|
| {{ account['id'] }} |
{% if account['photo'] is not empty %}
|
{{ account['first_name'] ~ ' ' ~ account['last_name'] }}
{% if account['phone'] is not null and account['phone'] is not empty %} {{ account['phone'] }}{% endif %} |
{{ account['username'] }}
{{ account['email'] }} |
{% for org in account['organizations'] %} {{ organizations[org]['name'] }} {% endfor %} | {% for role in account['roles'] %} {{ role }} {% endfor %} | {{ statuses[account['status']]['title'][localization.code] ?? account['status'] }} | {% if account['id'] == user.getAccount()['id'] or user.can('system_account_index') %} {% endif %} {% if account['id'] == user.getAccount()['id'] or (account['id'] != 1 and user.can('system_account_update')) %} {% endif %} {% if account['id'] != user.getAccount()['id'] and account['id'] != 1 and user.can('system_account_delete') %} {% endif %} |