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
This commit is contained in:
parent
8b1455c945
commit
56513a8c66
|
@ -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,6 +32,7 @@
|
|||
<% 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' %>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 528 B |
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue