Approval should warn with a pop-up
* Making it so that approving a task requires a confirmation. Change-Id: Ic82a9be97c167dc5d33ae6630381a5c9af27b215
This commit is contained in:
parent
901a0d7a2e
commit
3321bf3fb4
@ -57,6 +57,7 @@ class CancelTask(tables.DeleteAction):
|
||||
class ApproveTask(tables.BatchAction):
|
||||
name = "approve"
|
||||
help_text = _("This will approve all of the selected tasks.")
|
||||
action_type = "danger"
|
||||
|
||||
@staticmethod
|
||||
def action_present(count):
|
||||
@ -157,6 +158,7 @@ class RevalidateTask(tables.BatchAction):
|
||||
class ReapproveTask(ApproveTask):
|
||||
name = "approve"
|
||||
help_text = _("This will approve all of the selected tasks.")
|
||||
action_type = "danger"
|
||||
|
||||
@staticmethod
|
||||
def action_present(count):
|
||||
|
Loading…
x
Reference in New Issue
Block a user