Makes the default issue list columns selection look like other multi-checkbox fieldsets.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2507 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0624bdb6c9
commit
84de5fa3b0
|
@ -11,13 +11,11 @@
|
||||||
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
|
<%= text_field_tag 'settings[issues_export_limit]', Setting.issues_export_limit, :size => 6 %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fieldset class="box tabular settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
|
<fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend>
|
||||||
<%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
|
<%= hidden_field_tag 'settings[issue_list_default_columns][]', '' %>
|
||||||
<% Query.new.available_columns.each do |column| %>
|
<% Query.new.available_columns.each do |column| %>
|
||||||
<p>
|
<label><%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
|
||||||
<label><%= column.caption %></label>
|
<%= column.caption %></label><br />
|
||||||
<%= check_box_tag 'settings[issue_list_default_columns][]', column.name, Setting.issue_list_default_columns.include?(column.name.to_s) %>
|
|
||||||
</p>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue