Commit 2e3367c9 by Kálmán Viktor

network: issue #36

parent 2a333e50
...@@ -2,10 +2,27 @@ ...@@ -2,10 +2,27 @@
{% load l10n %} {% load l10n %}
{# <span style="color: #FF0000;">[{{ record.r_type }}]</span> #} {# <span style="color: #FF0000;">[{{ record.r_type }}]</span> #}
{% if record.direction == "1" %}{{ record.foreign_network }}{% else %}{{ record.r_type }}{% endif %} {% if record.direction == "1" %}
{{ record.foreign_network }}
{% else %}
{% if record.r_type == "host" %}
{{ record.host.get_fqdn }}
{% else %}
{{ record.r_type }}
{% endif %}
{% endif %}
{#<span style="color: #0000FF;"> ▸ </span>#} {#<span style="color: #0000FF;"> ▸ </span>#}
<i class="icon-arrow-right"></i> <i class="icon-arrow-right"></i>
{% if record.direction == "0" %}{{ record.foreign_network }}{% else %}{{ record.r_type }}{% endif %} {% if record.direction == "0" %}
{{ record.foreign_network }}
{% else %}
{% if record.r_type == "host" %}
{{ record.host.get_fqdn }}
{% else %}
{{ record.r_type }}
{% endif %}
{% endif %}
{% if record.accept %} {% if record.accept %}
<span class="label label-info" style="margin-left: 5px;">ACCEPT</span> <span class="label label-info" style="margin-left: 5px;">ACCEPT</span>
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment