diff --git a/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/templates/firewalls_v2/_firewallgroup_details.html b/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/templates/firewalls_v2/_firewallgroup_details.html index 72a63cd..70ef47f 100644 --- a/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/templates/firewalls_v2/_firewallgroup_details.html +++ b/neutron_fwaas_dashboard/dashboards/project/firewalls_v2/templates/firewalls_v2/_firewallgroup_details.html @@ -16,13 +16,21 @@
{% trans "Ingress Policy ID" %}
+ {% if firewall_group.ingress_firewall_policy_id %} {% url 'horizon:project:firewalls_v2:policydetails' firewall_group.ingress_firewall_policy_id as policy_url %} {{firewall_group.ingress_policy.name|default:firewall_group.ingress_firewall_policy_id }} + {% else %} + {% trans "-" %} + {% endif %}
{% trans "Egress Policy ID" %}
+ {% if firewall_group.egress_firewall_policy_id %} {% url 'horizon:project:firewalls_v2:policydetails' firewall_group.egress_firewall_policy_id as policy_url %} {{firewall_group.egress_policy.name|default:firewall_group.egress_firewall_policy_id }} + {% else %} + {% trans "-" %} + {% endif %}
{% trans "Status" %}