29 lines
1.0 KiB
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 %}
|