Merge "Add icons for Package Definitions BatchActions"

This commit is contained in:
Jenkins 2015-09-30 12:01:24 +00:00 committed by Gerrit Code Review
commit c66986289c
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class DownloadPackage(tables.Action):
class ToggleEnabled(tables.BatchAction):
name = 'toggle_enabled'
verbose_name = _("Toggle Enabled")
icon = "toggle-on"
@staticmethod
def action_present(count):
@ -129,6 +130,7 @@ class ToggleEnabled(tables.BatchAction):
class TogglePublicEnabled(tables.BatchAction):
name = 'toggle_public_enabled'
verbose_name = _("Toggle Public")
icon = "share-alt"
@staticmethod
def action_present(count):