Task creation (workflow dependent frames)

This commit is contained in:
2026-03-21 15:20:04 +02:00
parent fb9d884313
commit 218e8a750e
5 changed files with 31 additions and 17 deletions
+4 -1
View File
@@ -2,7 +2,10 @@
tr id="task_#{task.id}"
td
/ TODO: extract into a presenter (and especially add color)
= image_tag('mingcute/task_line.svg', title: task.workflow.name)
- wf_icon = 'task_line'
- if task.workflow.icon == 'warning'
- wf_icon = 'warning_line'
= image_tag("mingcute/#{wf_icon}.svg", title: task.workflow.name)
td= link_to task.full_number, task_path(task)
td
= task_status_selector task, with_form: true