Archived
1
0
Fork 0

app/views/backend/user/index.volt: Add icon link to impersonate users

This commit is contained in:
Henrik Hautakoski 2023-04-30 17:50:36 +02:00
parent c3e25fdc8f
commit 2c038dc9f7

View file

@ -20,6 +20,7 @@
<th>Email</th>
<th>Type</th>
<th>Status</th>
<th>&nbsp;</th>
</tr>
</thead>
@ -37,6 +38,11 @@
<td>{{ item.email }}</td>
<td>{{ item.type | capitalize }}</td>
<td><span class="badge {{ item.isActive() ? 'badge-success' : 'badge-danger' }}">{{ item.status }}</span></td>
<td>
<a title="Impersonate" href="{{ url(['for': 'backend-user-impersonate', 'id': item.id ]) }}">
{{ icon('solid/user-secret') }}
</a>
</td>
</tr>
{% endfor %}
</tbody>