This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
authentic2-pratic/src/authentic2_pratic/templates/authentic2_pratic/users.html

29 lines
1.0 KiB
HTML

{% extends "authentic2/manager/sidebar.html" %}
{% load i18n staticfiles django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Agents management" %}{% endblock %}
{% block page_title %}{{ block.super }}{% trans "Agents management" %}{% endblock %}
{% block more-user-links %}
{{ block.super }}
<a href="{% url 'a2-pratic-collectivities' %}">{% trans "Collectivities management" %}</a>
<a href="{% url 'a2-pratic-collectivity-edit' collectivity_pk=collectivity.pk %}">{{ collectivity }}</a>
<a href="#">{% trans "Agents management" %}</a>
{% endblock %}
{% block appbar %}
{{ block.super }}
<a rel="popup" href="{% url "a2-pratic-user-add" collectivity_pk=collectivity.pk %}" id="add-user-btn">{% trans "Add agent" %}</a>
{% endblock %}
{% block sidebar %}
<p>{% blocktrans count count=object_list.count %}{{ count }} agent{% plural %}{{ count }} agents{% endblocktrans %}</p>
{% endblock %}
{% block main %}
{% with row_link=1 %}
{% render_table table "authentic2/manager/table.html" %}
{% endwith %}
{% endblock %}