mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
add confirmation page for task
This commit is contained in:
@@ -32,17 +32,23 @@ class DefaultTaskDefinition implements \Chill\TaskBundle\Workflow\TaskWorkflowDe
|
||||
'close' => [
|
||||
'verb' => 'close',
|
||||
'class' => 'sc-button bt-task-label bt-task-close',
|
||||
'sentence' => '%user% has closed the task'
|
||||
'sentence' => '%user% has closed the task',
|
||||
'sentence_confirmation' => 'Are you sure you want to close this task ?',
|
||||
'apply_transition_submit_label' => 'Close_verb'
|
||||
],
|
||||
'cancel' => [
|
||||
'verb' => 'cancel',
|
||||
'class' => 'sc-button bt-task-label bt-task-cancel',
|
||||
'sentence' => '%user% has canceled the task'
|
||||
'sentence' => '%user% has canceled the task',
|
||||
'sentence_confirmation' => 'Are you sure you want to cancel this task ?',
|
||||
'apply_transition_submit_label' => 'Set this task to cancel state'
|
||||
],
|
||||
'start' => [
|
||||
'verb' => 'start',
|
||||
'class' => 'sc-button bt-task-label bt-task-start',
|
||||
'sentence' => '%user% has started the task'
|
||||
'sentence' => '%user% has started the task',
|
||||
'sentence_confirmation' => 'Are you sure you want to start this task ?',
|
||||
'apply_transition_submit_label' => 'Start_verb'
|
||||
]
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user