{% 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 %}
{% if perms.services.change_service %}  Éditer {% endif %}

{{ service.service_type }}

{% if service.label %}

{{ service.label }}

{% endif %}

Identifiant du service : #{{ service.id }}

Responsable : ADT{{ service.adhesion.id }}{{ service.adhesion.get_adherent_name }}

{% if service.contribution %}

Contribution : {{ service.contribution }}

{% else %}

Contribution : pas de contribution

{% endif %}

Ressources IP : {% for allocation in service.active_allocations %} {% if forloop.first %}

{% endif %} {% empty %} aucune IP allouée {% endfor %}

{% endblock %}