summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-27 18:34:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-27 18:34:08 +0000
commite63ccffd59c3f46898e52484e5b018fe73bee1f7 (patch)
tree88dbc7899932804b485608aeb29d2a823ef50b2c
parent9fe6bcac7436e073f11cd6612e7d134b5e2e17e0 (diff)
downloadredmine-e63ccffd59c3f46898e52484e5b018fe73bee1f7.tar.gz
redmine-e63ccffd59c3f46898e52484e5b018fe73bee1f7.zip
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
-rw-r--r--app/views/projects/activity.rhtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index 5174cb33d..dfc091fd1 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -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>