diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb index 7522e4ba0..a3654ce29 100644 --- a/app/views/activities/index.html.erb +++ b/app/views/activities/index.html.erb @@ -43,11 +43,17 @@ <% content_for :sidebar do %> <%= form_tag({}, :method => :get) do %>

<%= l(:label_activity) %>

-

<% @activity.event_types.each do |t| %> -<%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> - -
-<% end %>

+ <% if @project && @project.descendants.active.any? %> <%= hidden_field_tag 'with_subprojects', 0 %>