File diff e8434f637f9f → 90fac7c6abb9
conntrackt/templates/conntrackt/entity_detail.html
Show inline comments
 
{% 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 %}
 
      <li>{{communication.destination}} - {{communication.protocol}}: {{communication.port}}</li>
 
{% endfor %}{% endfor %}</ul></dd>
 
      <dt>iptables rules</dt><dd><pre>{% include "conntrackt/entity_iptables.html" with entity=entity %}</pre>{% html_link 'Download' 'entity_iptables' entity.id class="btn btn-primary" %}</dd>
 
      <dt>iptables rules</dt><dd><pre>{{ entity_iptables }}</pre>{% html_link 'Download' 'entity_iptables' entity.id class="btn btn-primary" %}</dd>
 
</dl>
 
{% endif %}
 
{% endwith %}