##// END OF EJS Templates
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
Move the filters buttons inside the filters fieldset on the issue list (closes #614). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1262 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1247:f5b5688e8ad8
r1247:f5b5688e8ad8
Show More
_columns.rhtml
27 lines | 1.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Added a checkbox on custom query form to explicitly say if the query uses default columns or not....
r772 <% content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<legend><%= l(:field_column_names) %></legend>
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773
Jean-Philippe Lang
Move the filters buttons inside the filters fieldset on the issue list (closes #614)....
r1247 <%= hidden_field_tag 'query[column_names][]', '', :id => nil %>
<table>
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 <tr>
<td><%= select_tag 'available_columns',
Jean-Philippe Lang
Custom fields can now be displayed as columns on the issue list....
r876 options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 :multiple => true, :size => 10, :style => "width:150px" %>
</td>
<td align="center" valign="middle">
<input type="button" value="--&gt;"
onclick="moveOptions(this.form.available_columns, this.form.selected_columns);" /><br />
<input type="button" value="&lt;--"
onclick="moveOptions(this.form.selected_columns, this.form.available_columns);" />
</td>
<td><%= select_tag 'query[column_names][]',
Jean-Philippe Lang
Custom fields can now be displayed as columns on the issue list....
r876 options_for_select(@query.columns.collect {|column| [column.caption, column.name]}),
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
</td>
</tr>
</table>
<% end %>
<% content_for :header_tags do %>
<%= javascript_include_tag 'select_list_move' %>
Jean-Philippe Lang
Added a checkbox on custom query form to explicitly say if the query uses default columns or not....
r772 <% end %>