Files @ da362b930a68
Branch filter:

Location: conntrackt/conntrackt/templates/admin/conntrackt/communication/change_list.html

branko
Changed default policy for generated iptables rules for INPUT and FORWARD chain to DROP. Changed administration link to point to Conntrackt-specific admin page.
{% extends "admin/change_list.html" %}
{% load i18n admin_static admin_list %}
{% load url from future %}
{% load admin_urls %}

{% block object-tools-items %}
            <li>
              {# Add the GET parameters from the admin's filter to 'Add entity' button #}
              {# so we can perform some filtering on source/destination interfaces. #}
              <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 %}