2012-06-08 22:50:22 +04:00
|
|
|
<%= form_tag({:action => 'edit', :tab => 'issues'}, :onsubmit => 'selectAllOptions("selected_columns");') do %>
|
2008-01-06 23:24:26 +03:00
|
|
|
|
|
|
|
<div class="box tabular settings">
|
2009-12-19 23:07:09 +03:00
|
|
|
<p><%= setting_check_box :cross_project_issue_relations %></p>
|
2008-01-06 23:24:26 +03:00
|
|
|
|
2012-10-10 21:38:17 +04:00
|
|
|
<p><%= setting_select :cross_project_subtasks, cross_project_subtasks_options %></p>
|
|
|
|
|
2011-07-23 22:18:13 +04:00
|
|
|
<p><%= setting_check_box :issue_group_assignment %></p>
|
|
|
|
|
2011-11-05 22:40:33 +04:00
|
|
|
<p><%= setting_check_box :default_issue_start_date_to_creation_date %></p>
|
|
|
|
|
2009-12-19 23:07:09 +03:00
|
|
|
<p><%= setting_check_box :display_subprojects_issues %></p>
|
2008-03-06 11:32:56 +03:00
|
|
|
|
2009-12-19 23:07:09 +03:00
|
|
|
<p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p>
|
2009-12-11 21:48:34 +03:00
|
|
|
|
2012-10-29 14:19:40 +04:00
|
|
|
<p><%= setting_multiselect :non_working_week_days, (1..7).map {|d| [day_name(d), d.to_s]}, :inline => true %></p>
|
2012-10-29 14:06:30 +04:00
|
|
|
|
2009-12-19 23:07:09 +03:00
|
|
|
<p><%= setting_text_field :issues_export_limit, :size => 6 %></p>
|
2010-12-16 00:18:06 +03:00
|
|
|
|
|
|
|
<p><%= setting_text_field :gantt_items_limit, :size => 6 %></p>
|
2008-01-06 23:24:26 +03:00
|
|
|
</div>
|
|
|
|
|
2012-06-08 22:50:22 +04:00
|
|
|
<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][]'
|
|
|
|
} %>
|
2008-01-06 23:24:26 +03:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
|
|
<% end %>
|