@@ -48,11 +48,21 | |||||
48 | <% end %> |
|
48 | <% end %> | |
49 | </ul> |
|
49 | </ul> | |
50 | <p></p> |
|
50 | <p></p> | |
51 | <label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label> |
|
51 | <ul> | |
52 | <% if @project.descendants.active.any? %> |
|
52 | <li> | |
53 | <%= hidden_field_tag 'with_subprojects', 0 %> |
|
53 | <label for="completed"> | |
54 | <br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label> |
|
54 | <%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %> | |
55 | <% end %> |
|
55 | </label> | |
|
56 | </li> | |||
|
57 | <% if @project.descendants.active.any? %> | |||
|
58 | <li> | |||
|
59 | <%= hidden_field_tag 'with_subprojects', 0 %> | |||
|
60 | <label> | |||
|
61 | <%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%> | |||
|
62 | </label> | |||
|
63 | </li> | |||
|
64 | <% end %> | |||
|
65 | </ul> | |||
56 | <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p> |
|
66 | <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p> | |
57 | <% end %> |
|
67 | <% end %> | |
58 |
|
68 |
General Comments 0
You need to be logged in to leave comments.
Login now