Dont show generate certificate and revoke together

This commit is contained in:
Li Chen 2013-12-01 19:21:32 +01:00
parent 3f0a403fd4
commit 964d3b067f

View File

@ -21,13 +21,16 @@
{$t->id}<br>
<a href="?delete={$t->id}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette équipe ?')">
<span class="glyphicon glyphicon-trash"></span></a>
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}">
<span class="glyphicon glyphicon-download"></span></a>
{if not $t->revoked}
<a href="/{$SALT_ADMIN}/certificate/revoke?name={$t->team_name}"
onclick="return confirm('Êtes-vous sûr de vouloir révoquer ce certificat ?')">
<span class="glyphicon glyphicon-remove"></span></a>
<a href="/{$SALT_ADMIN}/certificate/get?name={$t->team_name}">
<span class="glyphicon glyphicon-download"></span></a>
{else}
<a href="/{$SALT_ADMIN}/certificate/newclient?name={$t->team_name}">
<span class="glyphicon glyphicon-plus"></span></a>
{/if}
</td>
<td>{$t->team_name}</td>
<td>{$t->slogan}</td>