Fix Stream workflow stage BG

This commit is contained in:
Andy Smith
2025-09-29 11:50:41 -05:00
parent 3548ab963c
commit bd7ac0d510
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ module ColumnsHelper
tag.span(column.name, class: "overflow-ellipsis"),
card_triage_path(card, column_id: column),
method: :post,
class: [ "btn justify-start workflow-stage txt-uppercase", { "workflow-stage--current": column == card.column } ],
class: [ "workflow-stage btn", { "workflow-stage--current": column == card.column } ],
form_class: "flex align-center gap-half",
data: { turbo_frame: "_top" }
end
+3 -3
View File
@@ -1,10 +1,10 @@
<div id="<%= dom_id(card, :stages) %>" class="card__stages">
<%= button_to "Not now", card_not_now_path(card),
class: [ "btn justify-start workflow-stage txt-uppercase", { "workflow-stage--current": card.postponed? } ],
class: [ "workflow-stage btn", { "workflow-stage--current": card.postponed? } ],
form_class: "flex align-center gap-half" %>
<%= button_to "The Stream", card_triage_path(card), method: :delete,
class: [ "btn justify-start workflow-stage txt-uppercase", { "workflow-stage--current": card.awaiting_triage? } ],
class: [ "workflow-stage workflow-stage--stream btn", { "workflow-stage--current": card.awaiting_triage? } ],
form_class: "flex align-center gap-half" %>
<% card.collection.columns.each do |column| %>
@@ -12,6 +12,6 @@
<% end %>
<%= button_to "Closed", card_closure_path(card, reason: "Completed"),
class: [ "btn justify-start workflow-stage txt-uppercase", { "workflow-stage--current": card.closed? } ],
class: [ "workflow-stage btn", { "workflow-stage--current": card.closed? } ],
form_class: "flex align-center gap-half" %>
</div>