{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block content %}
| {% trans "Endpoint" %} | {{ object.endpoint|linkify }} |
|---|---|
| {% trans "Protocol" %} | {{ object.get_protocol_display }} |
| {% trans "Ports" %} | {{ object.ports|join:", " }} |
| {% trans "IP addresses" %} | {% for ip in object.ipaddresses.all %}{{ ip|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}{% trans "None" %}{% endfor %} |
| {% trans "Description" %} | {{ object.description|placeholder }} |
| {% trans "SSH credential" %} | {% if service_ssh_credential %}{{ service_ssh_credential|linkify }}{% else %}{% trans "Not configured or restricted" %}{% endif %} |