diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-19 09:07:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-19 09:07:08 +0000 |
commit | a0a7e9d00179524b4c6242e638ced5e3674accd3 (patch) | |
tree | 6f41854e91eaa2323ea0df65bf2d439d16865393 /app/views/queries | |
parent | 39a3ffd0695841d5a007813e84829a7739ffcb4a (diff) | |
download | redmine-a0a7e9d00179524b4c6242e638ced5e3674accd3.tar.gz redmine-a0a7e9d00179524b4c6242e638ced5e3674accd3.zip |
Add id and class for easier styling of query filters (#22018).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15255 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r-- | app/views/queries/_form.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb index a7aae8a43..28a58272a 100644 --- a/app/views/queries/_form.html.erb +++ b/app/views/queries/_form.html.erb @@ -23,7 +23,7 @@ <%= check_box_tag 'query_is_for_all', 1, @query.project.nil?, :class => (User.current.admin? ? '' : 'disable-unless-private') %></p> <% unless params[:gantt] %> -<fieldset><legend><%= l(:label_options) %></legend> +<fieldset id="options"><legend><%= l(:label_options) %></legend> <p><label for="query_default_columns"><%=l(:label_default_columns)%></label> <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns', :onclick => 'if (this.checked) {$("#columns").hide();} else {$("#columns").show();}' %></p> @@ -38,7 +38,7 @@ <%= available_totalable_columns_tags(@query) %></p> </fieldset> <% else %> -<fieldset><legend><%= l(:label_options) %></legend> +<fieldset id="options"><legend><%= l(:label_options) %></legend> <p><label><%= l(:button_show) %></label> <label class="inline"><%= check_box_tag "query[draw_relations]", "1", @query.draw_relations %> <%= l(:label_related_issues) %></label> <label class="inline"><%= check_box_tag "query[draw_progress_line]", "1", @query.draw_progress_line %> <%= l(:label_gantt_progress_line) %></label> |