{% extends 'generic/object.html' %}
{% load buttons %}
{% load helpers %}
{% load i18n %}
{% load perms %}
{% load plugins %}
{% load render_table from django_tables2 %}
{% block breadcrumbs %}
{{ block.super }}
{% if object.application %}
{{ object.application }}
{% endif %}
{% endblock %}
{% block content %}
{% trans "Application" %} |
{{ object.application|linkify }} |
{% trans "Group" %} |
{{ object.group|placeholder|linkify }}
|
{% trans "Description" %} |
{{ object.description|placeholder }} |
{% trans "Status" %} |
{% badge object.inherited_status_display bg_color=object.get_status_color %} |
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
{% include 'inc/panels/custom_fields.html' %}
{% plugin_left_page object %}
{% trans "Protocol" %} |
{{ object.get_protocol_display|placeholder }} |
{% trans "Source ports" %} |
{{ object.source_port_list|placeholder }} |
{% trans "Destination ports" %} |
{{ object.destination_port_list|placeholder }} |
{% for o in sources %}
{% if forloop.first %}
{% trans "Sources" %} |
{% endif %}
{{ o|linkify }} |
{% empty %}
{% trans "Sources" %} |
{{ ""|placeholder }} |
{% endfor %}
{% for o in destinations %}
{% if forloop.first %}
{% trans "Destinations" %} |
{% endif %}
{{ o|linkify }} |
{% empty %}
{% trans "Destinations" %} |
{{ ""|placeholder }} |
{% endfor %}
{% plugin_right_page object %}
{% if children_table %}
{% render_table children_table %}
{% endif %}
{% plugin_full_width_page object %}
{% endblock content %}