|
@@ -15,16 +15,15 @@
|
|
|
</div>
|
|
|
<div class="panel-body">
|
|
|
<p>Identifiant du service : #{{ service.id }}</p>
|
|
|
- <p>Responsable : {{ service.adhesion }}</p>
|
|
|
+ <p>Responsable : {{ service.adhesion }} {{ service.adhesion.adherent }}</p>
|
|
|
{% if service.contribution %}
|
|
|
<p>Contribution : {{ service.contribution }}</p>
|
|
|
{% else %}
|
|
|
<p>Contribution : pas de contribution</p>
|
|
|
{% endif %}
|
|
|
- <p>Actif : {{ service.is_active|yesno:"oui,non" }}</p>
|
|
|
<p>
|
|
|
IP allouée{{ service.active_allocations.count|pluralize }} :
|
|
|
- {% for allocation in service.active_allocations %}
|
|
|
+ {% for allocation in service.active_allocations.all %}
|
|
|
{% if forloop.first %}<ul>{% endif %}
|
|
|
<li>{{ allocation.resource }} (depuis le {{ allocation.start }})</li>
|
|
|
{% if forloop.last %}</ul>{% endif %}
|