Merge "Changed the label from Edit Rules to Manage Rules"

This commit is contained in:
Jenkins 2014-03-17 17:16:35 +00:00 committed by Gerrit Code Review
commit 5404103606
2 changed files with 6 additions and 6 deletions

View File

@ -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):

View File

@ -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 %}