Index: config/locales/en.yml =================================================================== diff --git a/config/locales/en.yml b/config/locales/en.yml --- a/config/locales/en.yml (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) +++ b/config/locales/en.yml (date 1639924497873) @@ -1190,6 +1190,7 @@ text_project_destroy_confirmation: Are you sure you want to delete this project and related data? text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." text_workflow_edit: Select a role and a tracker to edit the workflow + text_only_selected_status: Only show this status(es) text_are_you_sure: Are you sure? text_journal_changed: "%{label} changed from %{old} to %{new}" text_journal_changed_no_detail: "%{label} updated" Index: app/views/workflows/_form.html.erb =================================================================== diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb --- a/app/views/workflows/_form.html.erb (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) +++ b/app/views/workflows/_form.html.erb (date 1639922274335) @@ -1,3 +1,4 @@ +<% @statuses.select!{|s| params[:ss].include? s.id.to_s} if params[:ss] %> Index: app/views/workflows/edit.html.erb =================================================================== diff --git a/app/views/workflows/edit.html.erb b/app/views/workflows/edit.html.erb --- a/app/views/workflows/edit.html.erb (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) +++ b/app/views/workflows/edit.html.erb (date 1639924497857) @@ -29,6 +29,21 @@

+ <% end %> <% if @trackers && @roles && @statuses.any? %>