Commit | Line | Data |
---|---|---|
bdbc1f13 PP |
1 | {% extends "admin/change_list.html" %} |
2 | {% load i18n %} | |
3 | ||
4 | ||
5 | {% block object-tools %} | |
6 | <ul class="object-tools"> | |
7 | {% if not is_popup %} | |
8 | <li><a href="{{ export_csv_url }}">{% trans 'Export CSV' %}</a></li> | |
9 | <li><a href="{{ export_ods_url }}">{% trans 'Export ODS' %}</a></li> | |
10 | <li><a href="{{recoverlist_url}}" class="recoverlink">{% blocktrans with cl.opts.verbose_name_plural|escape as name %}Recover deleted {{name}}{% endblocktrans %}</a></li> | |
11 | {% endif %} | |
12 | {% if has_add_permission %} | |
13 | <li><a href="{{add_url}}{% if is_popup %}?_popup=1{% endif %}" class="addlink">{% blocktrans with cl.opts.verbose_name|escape as name %}Add {{name}}{% endblocktrans %}</a></li> | |
14 | {% endif %} | |
15 | </ul> | |
16 | {% endblock %} | |
17 |