|
new file 100644
|
|
|
{% extends "admin/change_list.html" %}
|
|
|
{% load i18n admin_static admin_list %}
|
|
|
{% load url from future %}
|
|
|
{% load admin_urls %}
|
|
|
|
|
|
{% block object-tools-items %}
|
|
|
<li>
|
|
|
<a href="{% url cl.opts|admin_urlname:'add' %}?{% if is_popup %}_popup=1{% endif %}{% if 'source__entity__location__id__exact' in cl.params %}&source__entity__location__id__exact={{ cl.params.source__entity__location__id__exact }}{% endif %}{% if 'source__entity__project__id__exact' in cl.params %}&source__entity__project__id__exact={{ cl.params.source__entity__project__id__exact }}{% endif %}" class="addlink">
|
|
|
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
|
|
|
</a>
|
|
|
</li>
|
|
|
{% endblock %}
|
|
|
|