diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-07 20:42:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-07 20:42:28 +0000 |
commit | 63ceea2e218367f4043580c15288c54ddc225114 (patch) | |
tree | afedaf8e1b6a4086fb1682a441940bf2f938ff37 /app/views/queries | |
parent | ad68a82be19f44c8e9ab895075a4e932133ad6ee (diff) | |
download | redmine-63ceea2e218367f4043580c15288c54ddc225114.tar.gz redmine-63ceea2e218367f4043580c15288c54ddc225114.zip |
Custom fields can now be displayed as columns on the issue list.
Custom fields marked as "for all projects" can be added to the default columns of the issue list (in application settings).
Project specific custom fields can be displayed on custom queries.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@889 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r-- | app/views/queries/_columns.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/queries/_columns.rhtml b/app/views/queries/_columns.rhtml index b03a3277d..8d3da7f6a 100644 --- a/app/views/queries/_columns.rhtml +++ b/app/views/queries/_columns.rhtml @@ -5,7 +5,7 @@ <table margin=0> <tr> <td><%= select_tag 'available_columns', - options_for_select((query.available_columns - query.columns).collect {|column| [l("field_#{column.name}"), column.name]}), + options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}), :multiple => true, :size => 10, :style => "width:150px" %> </td> <td align="center" valign="middle"> @@ -15,7 +15,7 @@ onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" /> </td> <td><%= select_tag 'query[column_names][]', - options_for_select(@query.columns.collect {|column| [l("field_#{column.name}"), column.name]}), + options_for_select(@query.columns.collect {|column| [column.caption, column.name]}), :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %> </td> </tr> |