List the Default Columns displayed on the issue list vertically

instead of horizontally so it's easier to read.

  #2745

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2488 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2009-02-20 22:59:59 +00:00
parent befe278fa9
commit 3fa9535670
1 changed files with 7 additions and 5 deletions

View File

@ -11,12 +11,14 @@
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
</div>
<fieldset class="box"><legend><%= l(:setting_issue_list_default_columns) %></legend>
<fieldset class="box tabular settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
<%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
<p><% 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>
<% end %></p>
<% Query.new.available_columns.each do |column| %>
<p>
<label><%= column.caption %></label>
<%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
</p>
<% end %>
</fieldset>
<%= submit_tag l(:button_save) %>