Add links for one-click activity filtering (#2857).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2534 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9fe6bcac74
commit
e63ccffd59
|
@ -45,7 +45,9 @@
|
|||
<% form_tag({}, :method => :get) do %>
|
||||
<h3><%= l(:label_activity) %></h3>
|
||||
<p><% @activity.event_types.each do |t| %>
|
||||
<label><%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%></label><br />
|
||||
<%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
|
||||
<%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%>
|
||||
<br />
|
||||
<% end %></p>
|
||||
<% if @project && @project.descendants.active.any? %>
|
||||
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
|
||||
|
|
Loading…
Reference in New Issue