3b47c97db760dbca5a298156a1fa0eb82cea646e
[wolnelektury.git] / src / contact / templates / admin / contact / contact / change_list.html
1 {% extends "admin/change_list.html" %}
2 {% load i18n %}
3 {% load admin_urls %}
4
5
6 {% block object-tools-items %}
7     {{block.super}}
8     {% if request.GET.form_tag %}
9         {% for extract_type in extract_types %}
10             <li>
11                 <a href="{% url 'admin:contact_extract' form_tag=request.GET.form_tag extract_type_slug=extract_type.slug %}?created_at__month={{request.GET.created_at__month}}&created_at__year={{request.GET.created_at__year}}">
12                     {% trans 'Extract' %}: {{extract_type.label}}
13                 </a>
14             </li>
15         {% endfor %}
16     {% endif %}
17 {% endblock %}
18