Merge "Changed the label from Edit Rules to Manage Rules"
This commit is contained in:
commit
5404103606
@ -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):
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user