diff --git a/conntrackt/templates/conntrackt/entity_detail.html b/conntrackt/templates/conntrackt/entity_detail.html --- a/conntrackt/templates/conntrackt/entity_detail.html +++ b/conntrackt/templates/conntrackt/entity_detail.html @@ -1,7 +1,7 @@ {% extends "conntrackt/template.html" %} {# For html_link. #} -{% load conntrackt %} +{% load conntrackt_tags %} {% block content %} {# Use a bit shorter variable names. #} @@ -20,7 +20,7 @@ {% for communication in interface.source_set.all %}
  • {{communication.destination}} - {{communication.protocol}}: {{communication.port}}
  • {% endfor %}{% endfor %} -
    iptables rules
    {% include "conntrackt/entity_iptables.html" with entity=entity %}
    {% html_link 'Download' 'entity_iptables' entity.id class="btn btn-primary" %}
    +
    iptables rules
    {{ entity_iptables }}
    {% html_link 'Download' 'entity_iptables' entity.id class="btn btn-primary" %}
    {% endif %} {% endwith %}