Changed workflows rendering again

This commit is contained in:
2026-03-24 00:28:14 +02:00
parent 1c1d11cbe6
commit 83b296dbe7
13 changed files with 67 additions and 59 deletions
+2 -1
View File
@@ -8,4 +8,5 @@ h1
= turbo_frame_tag(id) do
= content
= turbo_stream.replace(tabs_id, tabs)
- if turbo_frame_request?
= turbo_stream.replace(tabs_id, tabs)
+1 -1
View File
@@ -1,6 +1,6 @@
- cache task do
tr id="task_#{task.id}"
td= workflow_display task.workflow
td= workflow_display task.workflow, badge: true
td= link_to task.full_number, task_path(task)
td
= task_status_selector task, with_form: true
+1 -1
View File
@@ -3,7 +3,7 @@ div
h1= @task.title
section.task-show-info
= workflow_display @task.workflow, full: true
= workflow_display @task.workflow, full: true, badge: true
= task_status_selector @task, with_form: true
= turbo_stream_from @task, :status, :with_form
+1 -1
View File
@@ -1,4 +1,4 @@
div.workflow class=color title=name
div.workflow class=[color, ('badge' if badge)] title=name
= mask_icon(icon)
- if full
span<= name