1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

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

View File

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