Feature #22018 » 22018-class_and_id_for_options.patch
app/views/gantts/show.html.erb | ||
---|---|---|
20 | 20 |
<%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
21 | 21 |
</div> |
22 | 22 |
</fieldset> |
23 |
<fieldset class="collapsible collapsed"> |
|
23 |
<fieldset id="options" class="collapsible collapsed">
|
|
24 | 24 |
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend> |
25 | 25 |
<div style="display: none;"> |
26 | 26 |
<table> |
app/views/issues/index.html.erb | ||
---|---|---|
20 | 20 |
<%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
21 | 21 |
</div> |
22 | 22 |
</fieldset> |
23 |
<fieldset class="collapsible collapsed"> |
|
23 |
<fieldset id="options" class="collapsible collapsed">
|
|
24 | 24 |
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend> |
25 | 25 |
<div style="display: none;"> |
26 | 26 |
<table> |
27 | 27 |
<tr> |
28 |
<td><%= l(:field_column_names) %></td> |
|
28 |
<td class="field"><%= l(:field_column_names) %></td>
|
|
29 | 29 |
<td><%= render_query_columns_selection(@query) %></td> |
30 | 30 |
</tr> |
31 | 31 |
<tr> |
32 |
<td><label for='group_by'><%= l(:field_group_by) %></label></td> |
|
32 |
<td class="field"><label for='group_by'><%= l(:field_group_by) %></label></td>
|
|
33 | 33 |
<td><%= select_tag('group_by', |
34 | 34 |
options_for_select( |
35 | 35 |
[[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, |
... | ... | |
37 | 37 |
) %></td> |
38 | 38 |
</tr> |
39 | 39 |
<tr> |
40 |
<td><%= l(:button_show) %></td> |
|
40 |
<td class="field"><%= l(:button_show) %></td>
|
|
41 | 41 |
<td><%= available_block_columns_tags(@query) %></td> |
42 | 42 |
</tr> |
43 | 43 |
</table> |
app/views/queries/_form.html.erb | ||
---|---|---|
24 | 24 |
:disabled => (!@query.new_record? && (@query.project.nil? || (@query.is_public? && !User.current.admin?))) %></p> |
25 | 25 |
<% unless params[:gantt] %> |
26 |
<fieldset><legend><%= l(:label_options) %></legend> |
|
26 |
<fieldset id="options"><legend><%= l(:label_options) %></legend>
|
|
27 | 27 |
<p><label for="query_default_columns"><%=l(:label_default_columns)%></label> |
28 | 28 |
<%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns', |
29 | 29 |
:onclick => 'if (this.checked) {$("#columns").hide();} else {$("#columns").show();}' %></p> |
... | ... | |
36 | 36 |
<%= available_block_columns_tags(@query) %></p> |
37 | 37 |
</fieldset> |
38 | 38 |
<% else %> |
39 |
<fieldset><legend><%= l(:label_options) %></legend> |
|
39 |
<fieldset id="options"><legend><%= l(:label_options) %></legend>
|
|
40 | 40 |
<p><label><%= l(:button_show) %></label> |
41 | 41 |
<label class="inline"><%= check_box_tag "query[draw_relations]", "1", @query.draw_relations %> <%= l(:label_related_issues) %></label> |
42 | 42 |
<label class="inline"><%= check_box_tag "query[draw_progress_line]", "1", @query.draw_progress_line %> <%= l(:label_gantt_progress_line) %></label> |
app/views/timelog/_date_range.html.erb | ||
---|---|---|
6 | 6 |
<%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
7 | 7 |
</div> |
8 | 8 |
</fieldset> |
9 |
<fieldset class="collapsible collapsed"> |
|
9 |
<fieldset id="options" class="collapsible collapsed">
|
|
10 | 10 |
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend> |
11 | 11 |
<div style="display: none;"> |
12 | 12 |
<table> |
13 | 13 |
<tr> |
14 |
<td><%= l(:field_column_names) %></td> |
|
14 |
<td class="field"><%= l(:field_column_names) %></td>
|
|
15 | 15 |
<td><%= render_query_columns_selection(@query) %></td> |
16 | 16 |
</tr> |
17 | 17 |
</table> |