diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:34:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:34:25 +0000 |
commit | 6ff5d4211e95b7af52c9e8fb4233b339b7d1d479 (patch) | |
tree | 0ba5552ffd2b4fe6b7a756d3bff676f2ae845531 /app/views | |
parent | 124a459d55858cecd65e57ae7f312d99bcbcbb96 (diff) | |
download | redmine-6ff5d4211e95b7af52c9e8fb4233b339b7d1d479.tar.gz redmine-6ff5d4211e95b7af52c9e8fb4233b339b7d1d479.zip |
Move the closed project checkbox out of the sidebar.
git-svn-id: http://svn.redmine.org/redmine/trunk@15984 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/index.html.erb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 92ea54795..0f699589e 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -3,7 +3,13 @@ <% end %> <div class="contextual"> - <%= render_project_action_links %> + <%= form_tag({}, :method => :get) do %> + <label for="closed"> + <%= check_box_tag 'closed', 1, params[:closed], :onchange => "this.form.submit();" %> + <%= l(:label_show_closed_projects) %> + </label> + <% end %> + <%= render_project_action_links %> </div> <h2><%= l(:label_project_plural) %></h2> @@ -22,12 +28,4 @@ <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %> <% end %> -<% content_for :sidebar do %> - <%= form_tag({}, :method => :get) do %> - <h3><%= l(:label_project_plural) %></h3> - <label for="closed"><%= check_box_tag 'closed', 1, params[:closed] %> <%= l(:label_show_closed_projects) %></label> - <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p> - <% end %> -<% end %> - <% html_title(l(:label_project_plural)) -%> |