|
@@ -31,6 +31,16 @@
|
|
|
aucune IP allouée
|
|
|
{% endfor %}
|
|
|
</p>
|
|
|
+ {% if service.ports.exists %}
|
|
|
+ <p>
|
|
|
+ Port{{ service.ports.count|pluralize }} :
|
|
|
+ {% for port in service.ports.all %}
|
|
|
+ {% if forloop.first %}<ul>{% endif %}
|
|
|
+ <li>Switch {{ port.switch }} port {{ port.port }}
|
|
|
+ {% if forloop.last %}</ul>{% endif %}
|
|
|
+ {% endfor %}
|
|
|
+ </p>
|
|
|
+ {% endif %}
|
|
|
</div>
|
|
|
</div>
|
|
|
{% endblock %}
|