Remove the unused attributes in the tables

The delete actions inherits from tables.DeleteAction,
the tables.DeleteAction has already define the icon attribute.
So this patch remove the repeated attributes for cleanup.

Change-Id: I34f94e0951589f4ab4181a2f80abba6cc5506f9e
This commit is contained in:
Qian Min Chen 2018-07-09 21:54:52 +08:00
parent 91b85be715
commit 36876e51c0
2 changed files with 0 additions and 7 deletions

View File

@ -37,7 +37,6 @@ class DeleteService(tables.DeleteAction):
verbose_name = _("Delete Service")
data_type_singular = _("Service")
data_type_plural = _("Services")
icon = "remove"
@staticmethod
def action_present(count):
@ -97,7 +96,6 @@ class DeleteGroup(tables.DeleteAction):
verbose_name = _("Delete Group")
data_type_singular = _("Group")
data_type_plural = _("Groups")
icon = "remove"
@staticmethod
def action_present(count):
@ -185,7 +183,6 @@ class DeleteServiceThreshold(tables.DeleteAction):
verbose_name = _("Delete Service Threshold")
data_type_singular = _("Service Threshold")
data_type_plural = _("Service Thresholds")
icon = "remove"
@staticmethod
def action_present(count):
@ -213,7 +210,6 @@ class DeleteFieldThreshold(tables.DeleteAction):
verbose_name = _("Delete Field Threshold")
data_type_singular = _("Field Threshold")
data_type_plural = _("Field Thresholds")
icon = "remove"
@staticmethod
def action_present(count):
@ -354,7 +350,6 @@ class DeleteField(tables.DeleteAction):
verbose_name = _("Delete Field")
data_type_singular = _("Field")
data_type_plural = _("Fields")
icon = "remove"
@staticmethod
def action_present(count):
@ -426,7 +421,6 @@ class DeleteMapping(tables.DeleteAction):
verbose_name = _("Delete Mapping")
data_type_singular = _("Mapping")
data_type_plural = _("Mappings")
icon = "remove"
@staticmethod
def action_present(count):

View File

@ -52,7 +52,6 @@ class DeletePyScript(tables.DeleteAction):
verbose_name = _("Delete Script")
data_type_singular = _("PyScript")
data_type_plural = _("PyScripts")
icon = "remove"
@staticmethod
def action_present(count):