Defect #36335 ยป workflow_edit_filter_statuses.patch
| config/locales/en.yml (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) โ config/locales/en.yml (date 1639924497873) | ||
|---|---|---|
|
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"
|
||
| app/views/workflows/_form.html.erb (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) โ app/views/workflows/_form.html.erb (date 1639922274335) | ||
|---|---|---|
|
<% @statuses.select!{|s| params[:ss].include? s.id.to_s} if params[:ss] %>
|
||
|
<table class="list workflows transitions transitions-<%= name %>">
|
||
|
<thead>
|
||
|
<tr>
|
||
| app/views/workflows/edit.html.erb (revision ec859e41d689ee3432113c3bd74ba48d060c9a2f) โ app/views/workflows/edit.html.erb (date 1639924497857) | ||
|---|---|---|
|
<label><%= check_box_tag 'used_statuses_only', '1', @used_statuses_only %> <%= l(:label_display_used_statuses_only) %></label>
|
||
|
</p>
|
||
|
<fieldset class="box collapsible collapsed">
|
||
|
<legend onclick="toggleFieldset(this);" class="icon icon-collapsed"><%= l(:text_only_selected_status) %></legend>
|
||
|
<div id="selected-statuses" style="height:10em; max-height: 20em; overflow-y:auto; display: none">
|
||
|
<%= link_to_function('', "toggleCheckboxesBySelector('#selected-statuses input[type=checkbox]:not(:disabled)')",
|
||
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
|
||
|
:class => 'no-tooltip icon-only icon-checked') %>
|
||
|
<%= "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
|
||
|
<% IssueStatus.sorted.each do |status| %>
|
||
|
<label class="block">
|
||
|
<%= check_box_tag "ss[]", status.id, params[:ss] && params[:ss].include?(status.id.to_s) %>
|
||
|
<%= status.name %>
|
||
|
</label>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
<% end %>
|
||
|
<% if @trackers && @roles && @statuses.any? %>
|
||