summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/admin/projects/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/admin/projects/tables.py')
-rw-r--r--openstack_dashboard/dashboards/admin/projects/tables.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/openstack_dashboard/dashboards/admin/projects/tables.py b/openstack_dashboard/dashboards/admin/projects/tables.py
index ffb47a32a..58fe58b1e 100644
--- a/openstack_dashboard/dashboards/admin/projects/tables.py
+++ b/openstack_dashboard/dashboards/admin/projects/tables.py
@@ -28,7 +28,8 @@ class ViewMembersLink(tables.LinkAction):
name = "users"
verbose_name = _("Modify Users")
url = "horizon:admin:projects:update"
- classes = ("ajax-modal", "btn-edit")
+ classes = ("ajax-modal",)
+ icon = "pencil"
policy_rules = (("identity", "identity:list_users"),
("identity", "identity:list_roles"))
@@ -43,7 +44,8 @@ class ViewGroupsLink(tables.LinkAction):
name = "groups"
verbose_name = _("Modify Groups")
url = "horizon:admin:projects:update"
- classes = ("ajax-modal", "btn-edit")
+ classes = ("ajax-modal",)
+ icon = "pencil"
def allowed(self, request, project):
return keystone.VERSIONS.active >= 3
@@ -59,7 +61,7 @@ class UsageLink(tables.LinkAction):
name = "usage"
verbose_name = _("View Usage")
url = "horizon:admin:projects:usage"
- classes = ("btn-stats",)
+ icon = "stats"
policy_rules = (("compute", "compute_extension:simple_tenant_usage:show"),)
@@ -78,7 +80,8 @@ class UpdateProject(tables.LinkAction):
name = "update"
verbose_name = _("Edit Project")
url = "horizon:admin:projects:update"
- classes = ("ajax-modal", "btn-edit")
+ classes = ("ajax-modal",)
+ icon = "pencil"
policy_rules = (('identity', 'identity:update_project'),)
def allowed(self, request, project):
@@ -89,7 +92,8 @@ class ModifyQuotas(tables.LinkAction):
name = "quotas"
verbose_name = _("Modify Quotas")
url = "horizon:admin:projects:update"
- classes = ("ajax-modal", "btn-edit")
+ classes = ("ajax-modal",)
+ icon = "pencil"
policy_rules = (('compute', "compute_extension:quotas:update"),)
def get_link_url(self, project):