{% extends 'base.html' %} {% load bootstrap3 %} {% block servicestab %}{% if service.adherent == request.user.profile.adhesion %} class="active"{% endif %}{% endblock %} {% block assotab %}{% if service.adherent != request.user.profile.adhesion %} active{% endif %}{% endblock %} {% block content %} {% if service.adherent == request.user.profile.adhesion %}  Retour à la liste de mes services {% else %}  Retour à la liste des services de {{ service.adherent.adherent }} {% endif %}

{{ service.service_type }}

{% if service.label %}

{{ service.label }}

{% endif %}
{% 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 %}