{% load i18n sizeformat parse_date %} {% load url from future %}

{% trans "Name" %}
{{ rule.name|default:_("None") }}
{% trans "Description" %}
{{ rule.description|default:_("None") }}
{% trans "ID" %}
{{ rule.id }}
{% trans "Project ID" %}
{{ rule.tenant_id }}
{% trans "Action" %}
{{ rule.action }}
{% trans "Protocol" %}
{{ rule.protocol }}
{% trans "Source IP Address" %}
{{ rule.source_ip_address }}
{% trans "Source Port" %}
{{ rule.source_port }}
{% trans "Destination IP Address" %}
{{ rule.destination_ip_address }}
{% trans "Destination Port"%}
{{ rule.destination_port }}
{% trans "Used in Policy" %}
{% url 'horizon:project:firewalls:policydetails' rule.firewall_policy_id as policy_url%} {{ rule.firewall_policy_id }}
{% trans "Position in Policy" %}
{{ rule.position }}
{% trans "Shared" %}
{{ rule.shared }}
{% trans "Enabled" %}
{{ rule.enabled }}