app/views/backend/user/index.volt: Add icon link to impersonate users
This commit is contained in:
parent
24edb5cb59
commit
0634db6d0c
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
|
<th> </th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|
@ -37,6 +38,11 @@
|
||||||
<td>{{ item.email }}</td>
|
<td>{{ item.email }}</td>
|
||||||
<td>{{ item.type | capitalize }}</td>
|
<td>{{ item.type | capitalize }}</td>
|
||||||
<td><span class="badge {{ item.isActive() ? 'badge-success' : 'badge-danger' }}">{{ item.status }}</span></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>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
Reference in a new issue