Workflow display styling

This commit is contained in:
2026-03-21 19:57:01 +02:00
parent eb9f3e982c
commit 72af5a0610
8 changed files with 75 additions and 7 deletions
+1 -6
View File
@@ -1,11 +1,6 @@
- cache task do
tr id="task_#{task.id}"
td
/ TODO: extract into a presenter (and especially add color)
- wf_icon = 'task_line'
- if task.workflow.icon == 'warning'
- wf_icon = 'warning_line'
= image_tag("mingcute/#{wf_icon}.svg", title: task.workflow.name)
td= workflow_display task.workflow
td= link_to task.full_number, task_path(task)
td
= task_status_selector task, with_form: true