From 56513a8c6643761d34aceb1b3bc1298dd2bc1f4c 2007-05-05 17:52:08 From: Jean-Philippe Lang Date: 2007-05-05 17:52:08 Subject: [PATCH] Added a "clear" link when displaying a saved query. It clears the query filter to show all issues. git-svn-id: http://redmine.rubyforge.org/svn/trunk@513 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/list_issues.rhtml b/app/views/projects/list_issues.rhtml index 22e3b14..44ed900 100644 --- a/app/views/projects/list_issues.rhtml +++ b/app/views/projects/list_issues.rhtml @@ -17,7 +17,7 @@ <%= link_to_remote l(:button_clear), { :url => {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :update => "content", - }, :class => 'icon icon-del' %> + }, :class => 'icon icon-reload' %> <% if authorize_for('projects', 'add_query') %> <%= link_to_remote l(:button_save), @@ -32,10 +32,11 @@ <% else %>
<%= render :partial => 'issues/add_shortcut', :locals => {:trackers => @trackers } %> + <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'icon icon-reload' %> <% if authorize_for('projects', 'add_query') %> <%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %> <%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> - <% end %> + <% end %>

<%= @query.name %>

<% end %> diff --git a/public/images/reload.png b/public/images/reload.png new file mode 100644 index 0000000000000000000000000000000000000000..c5eb34ee0a86e434ede6363af94b62c6c6351839 GIT binary patch literal 528 zc%17D@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!PKj$oiE~kEVo7FxoQosX}gIrh<`yfw_XArIm@Lm4S(Zwt=C6!G%svN1#6T5>H=O_Uo*yf<}DWe?47* zLYxI2k;M!Q+(IDCc|W2(W8c63UwiCc%Fr2TPz zHupHsaBNQ68?|baLx~ZCAfvpzmwD!&HG9_g*)E;(e#=`Q=_G}{?&0xoPj*aTn9%XE zAoy1iAE(T_LZxGcI*-!4PJBKZm+w3!_*p}n?6Z_o-WTj&856RtRtrD3wYK74l{?og z>aEefe!eTrCpE>EMyrrjNA5$IsG}2|CiAtlP8N$BAx*R NJYD@<);T3K0RSi9^^gDn literal 0 Hc$@