mirror of https://gitlab.crans.org/bde/nk20
make API token button nicer
This commit is contained in:
parent
4da5c41f40
commit
6a2b46be72
|
@ -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 %}
|
Loading…
Reference in New Issue