Merge "Fix missing icon of Terminate instance"

This commit is contained in:
Jenkins 2015-03-11 22:49:53 +00:00 committed by Gerrit Code Review
commit 1249735eb7
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class TerminateInstance(tables.BatchAction):
name = "terminate"
classes = ("btn-danger", )
icon = "off"
icon = "remove"
def action(self, request, obj_id):
api.trove.instance_delete(request, obj_id)

View File

@ -81,7 +81,7 @@ def is_deleting(instance):
class TerminateInstance(policy.PolicyTargetMixin, tables.BatchAction):
name = "terminate"
classes = ("btn-danger",)
icon = "off"
icon = "remove"
policy_rules = (("compute", "compute:delete"),)
help_text = _("Terminated instances are not recoverable.")