From a08c64e11fa7d38aa22f4fb4f30895fe262694bd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 16 Mar 2011 18:23:51 +0000 Subject: [PATCH] Adds links to reset filters on users and projects list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5151 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/admin/projects.rhtml | 1 + app/views/users/index.rhtml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml index e1f079c4f..229c77ea8 100644 --- a/app/views/admin/projects.rhtml +++ b/app/views/admin/projects.rhtml @@ -11,6 +11,7 @@ <%= text_field_tag 'name', params[:name], :size => 30 %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> +<%= link_to l(:button_clear), {:controller => 'admin', :action => 'projects'}, :class => 'icon icon-reload' %> <% end %>   diff --git a/app/views/users/index.rhtml b/app/views/users/index.rhtml index 79e50932d..80c83cb8d 100644 --- a/app/views/users/index.rhtml +++ b/app/views/users/index.rhtml @@ -17,6 +17,7 @@ <%= text_field_tag 'name', params[:name], :size => 30 %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> +<%= link_to l(:button_clear), users_path, :class => 'icon icon-reload' %> <% end %>   -- 2.39.5