authentic/src/authentic2/apps/authenticators/templates/authentic2/authenticators/authenticators.html

25 lines
817 B
HTML

{% extends "authentic2/authenticators/authenticator_common.html" %}
{% load i18n gadjo %}
{% block appbar %}
{{ block.super }}
<span class="actions">
<a href="{% url 'a2-manager-authenticator-add' %}" rel="popup">{% trans "Add new authenticator" %}</a>
</span>
{% endblock %}
{% block main %}
{% for authenticator in object_list %}
<div class="section {% if not authenticator.enabled %}disabled{% endif %}">
<h3>{{ authenticator }}
<a class="button" href="{% url 'a2-manager-authenticator-detail' pk=authenticator.pk %}">{% trans "Configure" %}</a>
</h3>
{% if authenticator.enabled and authenticator.get_short_description %}
<div>
<p>{{ authenticator.get_short_description }}</p>
</div>
{% endif %}
</div>
{% endfor %}
{% endblock %}