{% load i18n sizeformat parse_date %}
{% 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_v2:ruledetails' rule.id as rule_url %}
  1. {{ rule.name|default:rule.id }}
  2. {% endfor %}
{% else %} {% trans "-" %} {% endif %}
{% trans "Shared" %}
{{ policy.shared|yesno|capfirst }}
{% trans "Audited" %}
{{ policy.audited|yesno|capfirst }}