app/views/backend/user/index.volt: Add icon link to impersonate users
This commit is contained in:
parent
c3e25fdc8f
commit
2c038dc9f7
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
<th>Email</th>
|
||||
<th>Type</th>
|
||||
<th>Status</th>
|
||||
<th> </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>
|
||||
|
|
|
|||
Reference in a new issue