Trival: Add icons for DeployEnvironment and DeployThisEnvironment

Trival fix: Add icons for DeployEnvironment and DeployThisEnvironment

Closes-Bug: #1583867
Change-Id: I805c9969a7999d47efb7e276d83e8354ecf3b371
This commit is contained in:
zhurong 2016-05-07 05:52:42 -04:00
parent c2ffbf238a
commit 3de1c425e1

View File

@ -208,6 +208,7 @@ class DeleteService(tables.DeleteAction):
class DeployEnvironment(tables.BatchAction):
name = 'deploy'
classes = ('btn-launch',)
icon = "play"
@staticmethod
def action_present(count):
@ -257,6 +258,7 @@ class DeployThisEnvironment(tables.Action):
verbose_name = _('Deploy This Environment')
requires_input = False
classes = ('btn-launch',)
icon = "play"
def allowed(self, request, service):
"""Limit when 'Deploy Environment' button is shown