diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py index 11b94c125f..6bc08abc1a 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py +++ b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py @@ -56,9 +56,9 @@ class EditGroup(tables.LinkAction): return security_group.name != 'default' -class EditRules(tables.LinkAction): - name = "edit_rules" - verbose_name = _("Edit Rules") +class ManageRules(tables.LinkAction): + name = "manage_rules" + verbose_name = _("Manage Rules") url = "horizon:project:access_and_security:security_groups:detail" classes = ("btn-edit") @@ -74,7 +74,7 @@ class SecurityGroupsTable(tables.DataTable): name = "security_groups" verbose_name = _("Security Groups") table_actions = (CreateGroup, DeleteGroup) - row_actions = (EditRules, EditGroup, DeleteGroup) + row_actions = (ManageRules, EditGroup, DeleteGroup) class CreateRule(tables.LinkAction): diff --git a/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html b/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html index 66c9b47672..01dd7e9c53 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html +++ b/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html @@ -1,9 +1,9 @@ {% extends 'base.html' %} {% load i18n %} -{% block title %}{% trans "Edit Security Group Rules" %}{% endblock %} +{% block title %}{% trans "Manage Security Group Rules" %}{% endblock %} {% block page_header %} - {% include "horizon/common/_page_header.html" with title=_("Edit Security Group Rules: ")|add:security_group.name %} + {% include "horizon/common/_page_header.html" with title=_("Manage Security Group Rules: ")|add:security_group.name %} {% endblock page_header %} {% block main %}