28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
<% form_tag({:action => 'edit', :tab => 'issues'}) do %>
|
|
|
|
<div class="box tabular settings">
|
|
<p><label><%= l(:setting_cross_project_issue_relations) %></label>
|
|
<%= hidden_field_tag 'settings[cross_project_issue_relations]', 0 %>
|
|
<%= check_box_tag 'settings[cross_project_issue_relations]', 1, Setting.cross_project_issue_relations? %>
|
|
</p>
|
|
|
|
<p><label><%= l(:setting_display_subprojects_issues) %></label>
|
|
<%= hidden_field_tag 'settings[display_subprojects_issues]', 0 %>
|
|
<%= check_box_tag 'settings[display_subprojects_issues]', 1, Setting.display_subprojects_issues? %>
|
|
</p>
|
|
|
|
<p><label><%= l(:setting_issues_export_limit) %></label>
|
|
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
|
|
</div>
|
|
|
|
<fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
|
|
<%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
|
|
<% Query.new.available_columns.each do |column| %>
|
|
<label><%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
|
|
<%= column.caption %></label><br />
|
|
<% end %>
|
|
</fieldset>
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
<% end %>
|