]> source.dussan.org Git - redmine.git/commitdiff
Preserve the "from" parameter in activity links.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 2 Dec 2012 21:41:03 +0000 (21:41 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 2 Dec 2012 21:41:03 +0000 (21:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10926 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/activities/index.html.erb

index 260e9d2f9f68d3c5f009a2a6346bae32203b2b6d..bb129477b275dfc8154564e09e8c03bd444aabdb 100644 (file)
@@ -44,7 +44,7 @@
 <h3><%= l(:label_activity) %></h3>
 <p><% @activity.event_types.each do |t| %>
 <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
-<label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%></label>
+<label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%></label>
 <br />
 <% end %></p>
 <% if @project && @project.descendants.active.any? %>