Files @ e8434f637f9f
Branch filter:

Location: conntrackt/conntrackt/templates/conntrackt/location_widget.html

branko
Removed the line stripper middleware since it interfered with regular template lookups. Added some custom code to remove all blank lines from iptables rendering instead.
1
2
3
4
5
6
7
8
{% load conntrackt %}
  <table class="table table-striped">
    <tr><td><strong>{{location.name}}</strong></td><td>{% html_link '<i class="icon-book"></i>' 'project_location_iptables' project.id location.id class="btn btn-link" %}</td></tr>
{% for entity in entities %}
    <tr><td>{% html_link entity.name 'entity' entity.id class="btn btn-link" %}</td><td>{% html_link '<i class="icon-list"></i>' 'entity_iptables' entity.id class="btn btn-link" %}</td></tr>
{% endfor %}
  </table>