Fix account deletion. Add more info in Account table

This commit is contained in:
Khanh Ngo
2019-01-11 09:00:51 +07:00
parent 7da6bd5f99
commit 458826bc77
3 changed files with 9 additions and 2 deletions

View File

@ -36,6 +36,8 @@
<th>Description</th>
<th>Contact</th>
<th>Mail</th>
<th>Member</th>
<th>Domain</th>
<th>Action</th>
</tr>
</thead>
@ -46,6 +48,8 @@
<td>{{ account.description }}</td>
<td>{{ account.contact }}</td>
<td>{{ account.mail }}</td>
<td>{{ account.user_num }}</td>
<td>{{ account.domains|length }}</td>
<td width="15%">
<button type="button" class="btn btn-flat btn-success" onclick="window.location.href='{{ url_for('admin_editaccount', account_name=account.name) }}'">
Edit&nbsp;<i class="fa fa-cog"></i>