diff --git a/allianceauth/authentication/templates/authentication/tokens.html b/allianceauth/authentication/templates/authentication/tokens.html index 601bf026..e7907893 100644 --- a/allianceauth/authentication/templates/authentication/tokens.html +++ b/allianceauth/authentication/templates/authentication/tokens.html @@ -1,34 +1,49 @@ {% extends "allianceauth/base-bs5.html" %} + {% load i18n %} -{% block page_title %}{% translate "Dashboard" %}{% endblock page_title %} +{% block page_title %} + {% translate "Token Management" %} +{% endblock page_title %} + +{% block header_nav_brand %} + {% translate "Token Management" %} +{% endblock header_nav_brand %} {% block content %} -

{% translate "Token Management" %}

- +

+ {% translate "This page is a best attempt, but backups or database logs can still contain your tokens. Always revoke tokens on https://community.eveonline.com/support/third-party-applications/ where possible."|urlize %} +

+ +
- + {% for t in tokens %} - + + + {% endfor %}
{% translate "Scopes" %} {% translate "Actions" %} {% translate "Character" %}
{% for s in t.scopes.all %}{{ s.name }}{% endfor %} + {% for s in t.scopes.all %} + {{ s.name }} + {% endfor %} + {{ t.character_name }}
- {% translate "This page is a best attempt, but backups or database logs can still contain your tokens. Always revoke tokens on https://community.eveonline.com/support/third-party-applications/ where possible."|urlize %}
{% endblock content %} @@ -51,9 +66,10 @@ var last = null; api.column(grp, {page: 'current'}) .data() - .each(function (group, i) { + .each((group, i) => { if (last !== group) { - $(rows).eq(i).before(`${group}`); + $(rows).eq(i).before(`${group}`); + last = group; } });