From: Jean-Philippe Lang Date: Wed, 16 Mar 2011 18:23:51 +0000 (+0000) Subject: Adds links to reset filters on users and projects list. X-Git-Tag: 1.2.0~692 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a08c64e11fa7d38aa22f4fb4f30895fe262694bd;p=redmine.git 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 --- 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 %>