@@ -43,11 +43,17 | |||||
43 | <% content_for :sidebar do %> |
|
43 | <% content_for :sidebar do %> | |
44 | <%= form_tag({}, :method => :get) do %> |
|
44 | <%= form_tag({}, :method => :get) do %> | |
45 | <h3><%= l(:label_activity) %></h3> |
|
45 | <h3><%= l(:label_activity) %></h3> | |
46 | <p><% @activity.event_types.each do |t| %> |
|
46 | <ul> | |
47 | <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> |
|
47 | <% @activity.event_types.each do |t| %> | |
48 | <label for="show_<%=t%>"><%= link_to(l("label_#{t.singularize}_plural"), {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%></label> |
|
48 | <li> | |
49 | <br /> |
|
49 | <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %> | |
50 | <% end %></p> |
|
50 | <label for="show_<%=t%>"> | |
|
51 | <%= link_to(l("label_#{t.singularize}_plural"), | |||
|
52 | {"show_#{t}" => 1, :user_id => params[:user_id], :from => params[:from]})%> | |||
|
53 | </label> | |||
|
54 | </li> | |||
|
55 | <% end %> | |||
|
56 | </ul> | |||
51 | <% if @project && @project.descendants.active.any? %> |
|
57 | <% if @project && @project.descendants.active.any? %> | |
52 | <%= hidden_field_tag 'with_subprojects', 0 %> |
|
58 | <%= hidden_field_tag 'with_subprojects', 0 %> | |
53 | <p><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label></p> |
|
59 | <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