make API token button nicer

This commit is contained in:
Pierre-antoine Comby 2020-09-02 19:16:08 +02:00
parent 4da5c41f40
commit 6a2b46be72
1 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,9 @@
</dl>
{% if user_object.pk == user_object.pk %}
<a class="small float-right text-decoration-none" href="{% url 'member:auth_token' %}">
{% trans 'Manage auth token' %}
</a>
<div class="text-center">
<a class="small badge badge-secondary" href="{% url 'member:auth_token' %}">
<i class="fa fa-cogs"></i>{% trans 'API token' %}
</a>
</div>
{% endif %}