|
|
@@ -43,11 +43,17 @@ |
|
|
|
<% content_for :sidebar do %> |
|
|
|
<%= form_tag({}, :method => :get) do %> |
|
|
|
<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], :from => params[:from]})%></label> |
|
|
|
<br /> |
|
|
|
<% end %></p> |
|
|
|
<ul> |
|
|
|
<% @activity.event_types.each do |t| %> |
|
|
|
<li> |
|
|
|
<%= 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], :from => params[:from]})%> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
<% end %> |
|
|
|
</ul> |
|
|
|
<% if @project && @project.descendants.active.any? %> |
|
|
|
<%= hidden_field_tag 'with_subprojects', 0 %> |
|
|
|
<p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p> |