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

{% trans "Name" %}
{{ policy.name|default:_("-") }}
{% trans "Description" %}
{{ policy.description|default:_("-") }}
{% trans "ID" %}
{{ policy.id }}
{% trans "Project ID" %}
{{ policy.tenant_id }}
{% trans "Rules" %}
{% if policy.rules %} {% for rule in policy.rules %} {% url 'horizon:project:firewalls:ruledetails' rule.id as rule_url %} {{ rule.position }} : {{ rule.name|default:rule.id }}
{% endfor %} {% else %} {% trans "-" %} {% endif %}
{% trans "Shared" %}
{{ policy.shared|yesno|capfirst }}
{% trans "Audited" %}
{{ policy.audited|yesno|capfirst }}