summaryrefslogtreecommitdiffstats
path: root/app/views/settings/_issues.html.erb
blob: c7235857738265da891bae598fed665a85cd56bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<%= form_tag({:action => 'edit', :tab => 'issues'}, :onsubmit => 'selectAllOptions("selected_columns");') do %>

<div class="box tabular settings">
<p><%= setting_check_box :cross_project_issue_relations %></p>

<p><%= setting_select :cross_project_subtasks, cross_project_subtasks_options %></p>

<p><%= setting_check_box :issue_group_assignment %></p>

<p><%= setting_check_box :default_issue_start_date_to_creation_date %></p>

<p><%= setting_check_box :display_subprojects_issues %></p>

<p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p>

<p><%= setting_multiselect :non_working_week_days, (1..7).map {|d| [day_name(d), d.to_s]}, :inline => true %></p>

<p><%= setting_text_field :issues_export_limit, :size => 6 %></p>

<p><%= setting_text_field :gantt_items_limit, :size => 6 %></p>
</div>

<fieldset class="box">
	<legend><%= l(:setting_issue_list_default_columns) %></legend>
  <%= render :partial => 'queries/columns',
             :locals => {
               :query => Query.new(:column_names => Setting.issue_list_default_columns),
               :tag_name => 'settings[issue_list_default_columns][]'
             } %>
</fieldset>

<%= submit_tag l(:button_save) %>
<% end %>