Change default reason from Completed to Done
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Closure::Reason < ApplicationRecord
|
||||
DEFAULT_LABELS = [
|
||||
"Completed",
|
||||
"Done",
|
||||
"Duplicate",
|
||||
"Maybe later",
|
||||
"Working as intended",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<%= button_to_set_column card, column %>
|
||||
<% end %>
|
||||
|
||||
<%= button_to "Done", card_closure_path(card, reason: "Completed"),
|
||||
<%= button_to "Done", card_closure_path(card, reason: "Done"),
|
||||
class: [ "workflow-stage btn", { "workflow-stage--current": card.closed? } ],
|
||||
role: "radio",
|
||||
aria: { checked: card.closed? },
|
||||
|
||||
Reference in New Issue
Block a user