|
|
@ -20,12 +20,14 @@ |
|
|
|
<p class="buttons"> |
|
|
|
<p class="buttons"> |
|
|
|
<%= link_to_remote l(:button_apply), |
|
|
|
<%= link_to_remote l(:button_apply), |
|
|
|
{ :url => { :set_filter => 1 }, |
|
|
|
{ :url => { :set_filter => 1 }, |
|
|
|
|
|
|
|
:complete => "set_filters()" |
|
|
|
:update => "content", |
|
|
|
:update => "content", |
|
|
|
:with => "Form.serialize('query_form')" |
|
|
|
:with => "Form.serialize('query_form')" |
|
|
|
}, :class => 'icon icon-checked' %> |
|
|
|
}, :class => 'icon icon-checked' %> |
|
|
|
|
|
|
|
|
|
|
|
<%= link_to_remote l(:button_clear), |
|
|
|
<%= link_to_remote l(:button_clear), |
|
|
|
{ :url => { :set_filter => 1 }, |
|
|
|
{ :url => { :set_filter => 1 }, |
|
|
|
|
|
|
|
:complete => "set_filters()" |
|
|
|
:update => "content", |
|
|
|
:update => "content", |
|
|
|
}, :class => 'icon icon-reload' %> |
|
|
|
}, :class => 'icon icon-reload' %> |
|
|
|
<% if User.current.allowed_to?(:save_queries, @project, :global => true) %> |
|
|
|
<% if User.current.allowed_to?(:save_queries, @project, :global => true) %> |
|
|
|