diff --git a/config/packages/workflow.yaml b/config/packages/workflow.yaml index 4bf092e..abd4d44 100644 --- a/config/packages/workflow.yaml +++ b/config/packages/workflow.yaml @@ -32,6 +32,7 @@ framework: to: !php/const App\Entity\Task::STATUS_DOING metadata: title: 'Commencer la tâche' + short: 'Commencer' route: 'app_task_start' lock: true unlock: false @@ -40,6 +41,7 @@ framework: to: !php/const App\Entity\Task::STATUS_DONE metadata: title: 'Terminer la tâche' + short: 'Terminer' route: 'app_task_finish' lock: false unlock: true @@ -48,6 +50,7 @@ framework: to: !php/const App\Entity\Task::STATUS_TODO metadata: title: 'Abandonner la tâche' + short: 'Abandonner' route: 'app_task_cancel' lock: false unlock: true @@ -56,6 +59,7 @@ framework: to: !php/const App\Entity\Task::STATUS_TODO metadata: title: 'Recommencer la tâche' + short: 'Recommencer' route: 'app_task_reset' lock: false unlock: false diff --git a/templates/project/show.html.twig b/templates/project/show.html.twig index 5447159..89554b5 100644 --- a/templates/project/show.html.twig +++ b/templates/project/show.html.twig @@ -16,22 +16,77 @@ {% block page_content %}