Files @ 90fac7c6abb9
Branch filter:

Location: conntrackt/conntrackt/templates/conntrackt/project_detail.html

branko
Renamed the tags library. Removed the line stripper middleware, and replaced it with some custom code that will remove all blank lines. The iptables rule rendering has been rewritten to accomodate this change (a utility function has been added for generating them). Fixed some code styling.
{% extends "conntrackt/template.html" %}

{% load conntrackt_tags %}

{% block content %}
<h1>{{project.name}}</h1>

{% if project.description %}
<div>{{project.description}}</div>
<hr>
{% endif %}

{% if location_entities %}
<div class="row">
  {% for location, entities in location_entities %}
  <div class="span4">
    <div class="well">{% include "conntrackt/location_widget.html" with location=location entities=entities %}</div>
  </div>
  {% endfor %}
</div>
{% endif %}
{% endblock %}