##// END OF EJS Templates
Added wiki annotate view. It's accessible for each version from the page history view. ...
Added wiki annotate view. It's accessible for each version from the page history view. Slight style change: pre-wrap added on file/diff contents. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1020 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r876:63ceea2e2183
r1007:31c6ebb31046
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
Added a checkbox on custom query form to explicitly say if the query uses default columns or not....
r772 <%= hidden_field_tag 'query[column_names][]', '' %>
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 <table margin=0>
<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 %>