From afbfb3fdb8f48b4dcd4cab96805630b7c2b34659 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Sat, 17 Jun 2017 16:54:00 +0000 Subject: [PATCH] Correct the wrong label Import the following change: -------- commit 55b47cfccfb57d9bd13f8ca6669122c95cafb213 Author: qiaomin Date: Tue Jun 13 09:09:25 2017 +0800 Correct the wrong label There show policy name or id, so the label should be 'Policy'. Change-Id: I13259c5c563f9dedd5404a01500446267a47c7f4 -------- --- .../firewalls/templates/firewalls/_firewall_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_fwaas_dashboard/dashboards/project/firewalls/templates/firewalls/_firewall_details.html b/neutron_fwaas_dashboard/dashboards/project/firewalls/templates/firewalls/_firewall_details.html index ec67a18..448c6a1 100644 --- a/neutron_fwaas_dashboard/dashboards/project/firewalls/templates/firewalls/_firewall_details.html +++ b/neutron_fwaas_dashboard/dashboards/project/firewalls/templates/firewalls/_firewall_details.html @@ -14,7 +14,7 @@
{% trans "Project ID" %}
{{ firewall.tenant_id }}
-
{% trans "Policy ID" %}
+
{% trans "Policy" %}
{% url 'horizon:project:firewalls:policydetails' firewall.firewall_policy_id as policy_url %} {{ firewall.policy.name|default:firewall.policy.id }}