Files
django-maraudes/maraudes/templates/compte_rendu/compterendu.html
2016-08-06 19:28:15 +02:00

17 lines
688 B
HTML

{% load notes %}
<div class="panel panel-primary">
<!-- Default panel contents -->
<div class="panel-heading">
<h3 class="panel-title">{{ maraude.binome }} & {{ maraude.referent }}
<span class="pull-right"><span class="label pull-right">Rencontres : {{ maraude.rencontre_count}}</span></span></h3>
</div>
<table class="table table-bordered table-striped">
{% for note in notes %}
{% inline_table note header="sujet" %}
{% endfor %}
</table>
{% if user.is_superuser and maraude.est_terminee %}<div class="panel-footer text-right">
<a class="btn btn-sm btn-default" href="{% url 'maraudes:update' maraude.pk %}">Modifier</a>
</div>{%endif%}
</div>