##// END OF EJS Templates
Add links for one-click activity filtering (#2857)....
Jean-Philippe Lang -
r2469:e63ccffd59c3
parent child
Show More
@@ -45,7 +45,9
45 <% form_tag({}, :method => :get) do %>
45 <% form_tag({}, :method => :get) do %>
46 <h3><%= l(:label_activity) %></h3>
46 <h3><%= l(:label_activity) %></h3>
47 <p><% @activity.event_types.each do |t| %>
47 <p><% @activity.event_types.each do |t| %>
48 <label><%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> <%= l("label_#{t.singularize}_plural")%></label><br />
48 <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
49 <%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id]})%>
50 <br />
49 <% end %></p>
51 <% end %></p>
50 <% if @project && @project.descendants.active.any? %>
52 <% if @project && @project.descendants.active.any? %>
51 <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
53 <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p>
General Comments 0
You need to be logged in to leave comments. Login now