diff --git a/conntrackt/templates/conntrackt/project_detail.html b/conntrackt/templates/conntrackt/project_detail.html --- a/conntrackt/templates/conntrackt/project_detail.html +++ b/conntrackt/templates/conntrackt/project_detail.html @@ -7,7 +7,7 @@

{{project.name}}

-
+
{% if project.description %}
@@ -15,7 +15,7 @@ {{project.description}}
-
+
{% endif %}
@@ -23,13 +23,13 @@ {% html_link "Edit" "project_update" project.id class="btn btn-primary" %} {% html_link "Remove" "project_delete" project.id class="btn btn-primary" %} {% with project_id=project.id|slugify %} - {% html_link "Add entity" "entity_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %} - {% html_link "Add communication" "communication_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %} + {% html_link "Add entity" "entity_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %} + {% html_link "Add communication" "communication_create" class="btn btn-primary" get="project="|add:project_id|add:"&next="|add:request.path %} {% endwith %} {% html_link "Get Iptables" 'project_iptables' project.id class="btn btn-primary" %}
-
+
{% if location_entities %}
{% for location, entities in location_entities %} @@ -65,7 +65,7 @@

Communications diagram

- + communications diagram
{% endif %}