{% extends 'base.html' %} {% load bootstrap3 %} {% block servicestab %} class="active"{% endblock %} {% block content %}  Retour à la liste de mes services

{{ service.service_type }}

{% if service.label %}

{{ service.label }}

{% endif %}
{% if service.contribution.count == 0 %}

Contribution : pas de contribution

{% elif service.contribution.count == 1 %}

Contribution : {{ service.contribution.first }}

Ressources IP : {% for ip in service.ip_resources.all %} {% if forloop.first %}

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

Période d’activation du service : {% if not service.start and not service.end %} indéfinie {% else %} {{ service.start|default:"depuis toujours" }} – {{ service.end|default:"pour toujours" }} ({% if service.is_ongoing %}actuellement actif{% else %}actuellement inactif{% endif %}) {% endif %}

{% endif %}
{% endblock %}