{% extends 'base.html' %} {% load bootstrap3 %} {% block usertab %}{% if service.adhesion == request.user.profile.adhesion %} class="active"{% endif %}{% endblock %} {% block corptab %}{% if service.adhesion != request.user.profile.adhesion %} active{% endif %}{% endblock %} {% block content %}
Identifiant du service : #{{ service.id }}
Responsable : {{ service.adhesion }}
{% if service.contribution %}Contribution : {{ service.contribution }}
{% else %}Contribution : pas de contribution
{% endif %}Actif : {{ service.active|yesno:"oui,non" }}
IP allouée{{ service.active_allocations.count|pluralize }} : {% for allocation in service.active_allocations %} {% if forloop.first %}