Browse Source

Merge "Remove the redundant attributes"

tags/7.0.0
Zuul 7 months ago
parent
commit
d65faf3595

+ 0
- 3
disaster_recovery/backups/tables.py View File

@@ -37,9 +37,6 @@ class Restore(tables.LinkAction):
37 37
 
38 38
 
39 39
 class DeleteBackup(tables.DeleteAction):
40
-    name = "delete"
41
-    classes = ("btn-danger",)
42
-    icon = "remove"
43 40
     help_text = _("Delete backups is not recoverable.")
44 41
 
45 42
     @staticmethod

+ 0
- 3
disaster_recovery/clients/tables.py View File

@@ -26,9 +26,6 @@ class Filter(tables.FilterAction):
26 26
 
27 27
 
28 28
 class DeleteClient(tables.DeleteAction):
29
-    name = "delete"
30
-    classes = ("btn-danger",)
31
-    icon = "remove"
32 29
     help_text = _("Delete Clients is not recoverable.")
33 30
 
34 31
     @staticmethod

+ 0
- 6
disaster_recovery/jobs/tables.py View File

@@ -44,9 +44,6 @@ class AttachJobToSession(tables.LinkAction):
44 44
 
45 45
 
46 46
 class DeleteJob(tables.DeleteAction):
47
-    name = "delete"
48
-    classes = ("btn-danger",)
49
-    icon = "remove"
50 47
     help_text = _("Delete jobs is not recoverable.")
51 48
 
52 49
     @staticmethod
@@ -193,9 +190,6 @@ class JobsTable(tables.DataTable):
193 190
 
194 191
 
195 192
 class DeleteAction(tables.DeleteAction):
196
-    name = "delete"
197
-    classes = ("btn-danger",)
198
-    icon = "remove"
199 193
     help_text = _("Delete actions is not recoverable.")
200 194
 
201 195
     @staticmethod

+ 0
- 5
disaster_recovery/sessions/tables.py View File

@@ -41,9 +41,6 @@ class CreateJob(tables.LinkAction):
41 41
 
42 42
 
43 43
 class DeleteSession(tables.DeleteAction):
44
-    name = "delete"
45
-    classes = ("btn-danger",)
46
-    icon = "remove"
47 44
     help_text = _("Delete sessions is not recoverable.")
48 45
 
49 46
     @staticmethod
@@ -84,8 +81,6 @@ class DeleteMultipleActions(DeleteSession):
84 81
 
85 82
 class DeleteJobFromSession(tables.DeleteAction):
86 83
     name = "delete_job_from_session"
87
-    classes = ("btn-danger",)
88
-    icon = "remove"
89 84
     help_text = _("Delete jobs is not recoverable.")
90 85
 
91 86
     @staticmethod

Loading…
Cancel
Save