Merge "Trival: Add icons for DeployEnvironment and DeployThisEnvironment"

This commit is contained in:
Jenkins 2016-05-23 08:57:57 +00:00 committed by Gerrit Code Review
commit 6e85e77a35
1 changed files with 2 additions and 0 deletions

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