Add delete, new and revoke in list_users page
This commit is contained in:
parent
dbcc23a535
commit
32bb0163c1
3 changed files with 56 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
<th>Membres</th>
|
||||
<th>Points</th>
|
||||
<th>Place</th>
|
||||
<th>Révoqué</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{if $teams}
|
||||
|
|
@ -19,6 +20,9 @@
|
|||
<td>
|
||||
{$t->id}<br>
|
||||
<a href="?delete={$t->id}"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"><span class="glyphicon glyphicon-remove"></span></a>
|
||||
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}"><span class="glyphicon glyphicon-download"></span></a>
|
||||
<a href="/{$SALT_ADMIN}/certificate/newclient?name={$t->team_name}"><span class="glyphicon glyphicon-plus"></span></a>
|
||||
</td>
|
||||
<td>{$t->team_name}</td>
|
||||
<td>{$t->slogan}</td>
|
||||
|
|
@ -29,6 +33,7 @@
|
|||
</ul></td>
|
||||
<td>{$t->get_pts()}</td>
|
||||
<td>{$t->get_rank()}</td>
|
||||
<td>{if $t->revoked}Oui{else}Non{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
|
|
|
|||
Reference in a new issue