replace sc-button + bt- in js and php files

This commit is contained in:
2021-07-08 15:56:00 +02:00
parent ccee105efb
commit a740ad29ea
3 changed files with 7 additions and 7 deletions

View File

@@ -31,21 +31,21 @@ class DefaultTaskDefinition implements \Chill\TaskBundle\Workflow\TaskWorkflowDe
const TRANSITION_METADATA = [
'close' => [
'verb' => 'close',
'class' => 'sc-button bt-task-label bt-task-close',
'class' => 'btn btn-task-label btn-task-close',
'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',
'class' => 'btn btn-task-label btn-task-cancel',
'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',
'class' => 'btn btn-task-label btn-task-start',
'sentence' => '%user% has started the task',
'sentence_confirmation' => 'Are you sure you want to start this task ?',
'apply_transition_submit_label' => 'Start_verb'