Merge branch 'admin-token-deletion' into 'main'

Implements admin token deletion

See merge request yaal/canaille!101
This commit is contained in:
Éloi Rivard 2023-02-04 18:05:09 +00:00
commit 50d440e722

View file

@ -30,10 +30,6 @@
<div class="ui attached clearing segment"> <div class="ui attached clearing segment">
<table class="ui celled striped table"> <table class="ui celled striped table">
<tr>
<td>{{ _("Issue date") }}</td>
<td>{{ token.issue_date }}</td>
</tr>
<tr> <tr>
<td>{{ _("Client") }}</td> <td>{{ _("Client") }}</td>
<td> <td>
@ -74,6 +70,14 @@
</ul> </ul>
</td> </td>
</tr> </tr>
<tr>
<td>{{ _("Issue date") }}</td>
<td>{{ token.issue_date }}</td>
</tr>
<tr>
<td>{{ _("Expiration date") }}</td>
<td>{{ token.expire_date }}</td>
</tr>
<tr> <tr>
<td>{{ _("Revokation date") }}</td> <td>{{ _("Revokation date") }}</td>
<td> <td>
@ -89,10 +93,6 @@
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
<tr>
<td>{{ _("Lifetime") }}</td>
<td>{{ token.lifetime }}</td>
</tr>
<tr> <tr>
<td>{{ _("Token type") }}</td> <td>{{ _("Token type") }}</td>
<td>{{ token.type }}</td> <td>{{ token.type }}</td>