]> source.dussan.org Git - redmine.git/commitdiff
Added a "clear" link when displaying a saved query. It clears the query filter to...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 17:52:08 +0000 (17:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 17:52:08 +0000 (17:52 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@513 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/list_issues.rhtml
public/images/reload.png [new file with mode: 0644]
public/stylesheets/application.css

index 22e3b14a9c4cf4f6a87ee46934127ae377e9c299..44ed900196dc5009d3f89f59ad9acc0bb8971753 100644 (file)
@@ -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), 
 <% else %>
     <div class="contextual">
         <%= 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 %>        
     </div>    
     <h2><%= @query.name %></h2>
 <% end %>
diff --git a/public/images/reload.png b/public/images/reload.png
new file mode 100644 (file)
index 0000000..c5eb34e
Binary files /dev/null and b/public/images/reload.png differ
index 7cc0f3d86caa48e094f7675205b9255b42e5ea2c..0503e36fbb458fb1af5acf76fafe85f31daeff0c 100644 (file)
@@ -162,6 +162,7 @@ vertical-align: middle;
 .icon-warning  { background-image: url(../images/warning.png); }
 .icon-fav  { background-image: url(../images/fav.png); }
 .icon-fav-off  { background-image: url(../images/fav_off.png); }
+.icon-reload  { background-image: url(../images/reload.png); }
 
 .icon22-projects { background-image: url(../images/22x22/projects.png); }
 .icon22-users { background-image: url(../images/22x22/users.png); }