Show user email address in user management table

This commit is contained in:
Khanh Ngo 2018-03-31 06:53:57 +07:00
parent 51cdba8228
commit ce6c3c21f1

View File

@ -33,6 +33,7 @@
<th>Username</th> <th>Username</th>
<th>First Name</th> <th>First Name</th>
<th>Last Name</th> <th>Last Name</th>
<th>Email</th>
<th>Admin</th> <th>Admin</th>
<th>Privileges</th> <th>Privileges</th>
<th>Deletion</th> <th>Deletion</th>
@ -44,6 +45,7 @@
<td>{{ user.username }}</td> <td>{{ user.username }}</td>
<td>{{ user.firstname }}</td> <td>{{ user.firstname }}</td>
<td>{{ user.lastname }}</td> <td>{{ user.lastname }}</td>
<td>{{ user.email }}</td>
<td> <td>
<input type="checkbox" id="{{ user.username }}" class="admin_toggle" {% if user.role.name=='Administrator' %}checked{% endif %}> <input type="checkbox" id="{{ user.username }}" class="admin_toggle" {% if user.role.name=='Administrator' %}checked{% endif %}>
</td> </td>