{% extends 'ui/panels/_base.html' %} {% load i18n %} {% block panel_content %} {% if flow %}
| {% trans "Entry flow" %} | {{ flow|linkify }} |
|---|---|
| {% trans "From / to" %} | {{ flow.source_zone|linkify }} → {{ flow.destination_zone|linkify }} |
| {% trans "Service" %} | {{ flow.get_protocol_display }} {{ flow.ports_short }} |
| {% trans "Access" %} | {% for value, label, color in flow.get_access_display %}{% badge label bg_color=color %} {% empty %}{{ ''|placeholder }}{% endfor %} |
| {% trans "Why it matters" %} | {% if flow.remote_access %}{% trans "remote access" %}{% endif %} {% if info.outside %}{% trans "from outside" %}{% endif %} {% if info.changes and info.into_control %}{% trans "changes the controllers" %}{% endif %} {% if not flow.remote_access and not info.outside and not info.changes %}{{ ''|placeholder }}{% endif %} |
| {% trans "Allowed" %} | {% badge flow.get_allowed_display bg_color=flow.get_allowed_color %} {% if flow.expires %}{% blocktrans with date=flow.expires|date:"Y-m-d" %}until {{ date }}{% endblocktrans %}{% elif flow.remote_access and flow.allowed == 'yes' %}{% trans "no expiry date" %}{% endif %} |