##// END OF EJS Templates
Ajaxified issue filter reset link...
Jean-Philippe Lang -
r508:b9be1d126863
parent child
Show More
@@ -12,11 +12,14
12 { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 },
12 { :url => { :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 },
13 :update => "content",
13 :update => "content",
14 :with => "Form.serialize('query_form')"
14 :with => "Form.serialize('query_form')"
15 }, :class => 'icon icon-edit' %>
15 }, :class => 'icon icon-edit' %>
16
16
17 <%= link_to l(:button_clear), {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1}, :class => 'icon icon-del' %>
17 <%= link_to_remote l(:button_clear),
18 <% if authorize_for('projects', 'add_query') %>
18 { :url => {:controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1},
19
19 :update => "content",
20 }, :class => 'icon icon-del' %>
21
22 <% if authorize_for('projects', 'add_query') %>
20 <%= link_to_remote l(:button_save),
23 <%= link_to_remote l(:button_save),
21 { :url => { :controller => 'projects', :action => "add_query", :id => @project },
24 { :url => { :controller => 'projects', :action => "add_query", :id => @project },
22 :method => 'get',
25 :method => 'get',
General Comments 0
You need to be logged in to leave comments. Login now