Merge "Fix missing icon of Terminate instance
"
This commit is contained in:
commit
1249735eb7
@ -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)
|
||||
|
@ -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.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user