summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-24 07:30:09 +0000
committerGerrit Code Review <review@openstack.org>2018-10-24 07:30:09 +0000
commitd65faf3595a890d9871ea0b9e4f00f5e148755d5 (patch)
treee75abd2ee6c726d33fddc57d5edc9c915a7cee7d
parentf1effba0026c99b05503fbc82634fec533ab8371 (diff)
parente28dfcf7d3b25fd1db57013242d60e1679b67898 (diff)
Merge "Remove the redundant attributes"
-rw-r--r--disaster_recovery/backups/tables.py3
-rw-r--r--disaster_recovery/clients/tables.py3
-rw-r--r--disaster_recovery/jobs/tables.py6
-rw-r--r--disaster_recovery/sessions/tables.py5
4 files changed, 0 insertions, 17 deletions
diff --git a/disaster_recovery/backups/tables.py b/disaster_recovery/backups/tables.py
index 5aaae31..b9cbee7 100644
--- a/disaster_recovery/backups/tables.py
+++ b/disaster_recovery/backups/tables.py
@@ -37,9 +37,6 @@ class Restore(tables.LinkAction):
37 37
38 38
39class DeleteBackup(tables.DeleteAction): 39class DeleteBackup(tables.DeleteAction):
40 name = "delete"
41 classes = ("btn-danger",)
42 icon = "remove"
43 help_text = _("Delete backups is not recoverable.") 40 help_text = _("Delete backups is not recoverable.")
44 41
45 @staticmethod 42 @staticmethod
diff --git a/disaster_recovery/clients/tables.py b/disaster_recovery/clients/tables.py
index 7586134..1badb1a 100644
--- a/disaster_recovery/clients/tables.py
+++ b/disaster_recovery/clients/tables.py
@@ -26,9 +26,6 @@ class Filter(tables.FilterAction):
26 26
27 27
28class DeleteClient(tables.DeleteAction): 28class DeleteClient(tables.DeleteAction):
29 name = "delete"
30 classes = ("btn-danger",)
31 icon = "remove"
32 help_text = _("Delete Clients is not recoverable.") 29 help_text = _("Delete Clients is not recoverable.")
33 30
34 @staticmethod 31 @staticmethod
diff --git a/disaster_recovery/jobs/tables.py b/disaster_recovery/jobs/tables.py
index e24ed55..425510b 100644
--- a/disaster_recovery/jobs/tables.py
+++ b/disaster_recovery/jobs/tables.py
@@ -44,9 +44,6 @@ class AttachJobToSession(tables.LinkAction):
44 44
45 45
46class DeleteJob(tables.DeleteAction): 46class DeleteJob(tables.DeleteAction):
47 name = "delete"
48 classes = ("btn-danger",)
49 icon = "remove"
50 help_text = _("Delete jobs is not recoverable.") 47 help_text = _("Delete jobs is not recoverable.")
51 48
52 @staticmethod 49 @staticmethod
@@ -193,9 +190,6 @@ class JobsTable(tables.DataTable):
193 190
194 191
195class DeleteAction(tables.DeleteAction): 192class DeleteAction(tables.DeleteAction):
196 name = "delete"
197 classes = ("btn-danger",)
198 icon = "remove"
199 help_text = _("Delete actions is not recoverable.") 193 help_text = _("Delete actions is not recoverable.")
200 194
201 @staticmethod 195 @staticmethod
diff --git a/disaster_recovery/sessions/tables.py b/disaster_recovery/sessions/tables.py
index bf168a5..0f70e64 100644
--- a/disaster_recovery/sessions/tables.py
+++ b/disaster_recovery/sessions/tables.py
@@ -41,9 +41,6 @@ class CreateJob(tables.LinkAction):
41 41
42 42
43class DeleteSession(tables.DeleteAction): 43class DeleteSession(tables.DeleteAction):
44 name = "delete"
45 classes = ("btn-danger",)
46 icon = "remove"
47 help_text = _("Delete sessions is not recoverable.") 44 help_text = _("Delete sessions is not recoverable.")
48 45
49 @staticmethod 46 @staticmethod
@@ -84,8 +81,6 @@ class DeleteMultipleActions(DeleteSession):
84 81
85class DeleteJobFromSession(tables.DeleteAction): 82class DeleteJobFromSession(tables.DeleteAction):
86 name = "delete_job_from_session" 83 name = "delete_job_from_session"
87 classes = ("btn-danger",)
88 icon = "remove"
89 help_text = _("Delete jobs is not recoverable.") 84 help_text = _("Delete jobs is not recoverable.")
90 85
91 @staticmethod 86 @staticmethod