Task creation (workflow dependent frames)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user