Files
@ 744593ed423d
Branch filter:
Location: conntrackt/conntrackt/templates/conntrackt/project_detail.html - annotation
744593ed423d
1.1 KiB
text/html
CONNT-6: Implemented editing of communications from within the application. Cleaned-up the entity details template to have better looks.
0e5abbd2d3d6 3c652f6dc038 7086387253d4 90fac7c6abb9 3c652f6dc038 3c652f6dc038 7086387253d4 7086387253d4 7086387253d4 3c652f6dc038 ad556f8e81bd 26285e4c3519 26285e4c3519 26285e4c3519 26285e4c3519 26285e4c3519 02c5e6c3ba98 ad556f8e81bd ad556f8e81bd 509ed963b5e1 509ed963b5e1 509ed963b5e1 509ed963b5e1 7086387253d4 7086387253d4 744593ed423d 7086387253d4 509ed963b5e1 509ed963b5e1 509ed963b5e1 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 02c5e6c3ba98 3c652f6dc038 3c652f6dc038 3c652f6dc038 | {% extends "conntrackt/base.html" %}
{# For html_link #}
{% load conntrackt_tags %}
{% block content %}
<div class="row">
<h1 class="span12">{{project.name}}</h1>
</div>
{% if project.description %}
<div class="row">
<div class="span12">
{{project.description}}
</div>
</div>
<hr>
{% endif %}
<div class="row">
<div class="span12">
{% 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 %}
{% html_link "Add communication" "communication_create" class="btn btn-primary" get="project="|add:project_id %}
{% endwith %}
</div>
</div>
<hr>
{% 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 %}
|