use li tags for label completed versions and subproject in version index sidebar (#13242)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11783 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-05-03 11:39:23 +00:00
parent 42753001ea
commit 452c71c9dc
1 changed files with 15 additions and 5 deletions

View File

@ -48,11 +48,21 @@
<% end %>
</ul>
<p></p>
<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
<% if @project.descendants.active.any? %>
<%= hidden_field_tag 'with_subprojects', 0 %>
<br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
<% end %>
<ul>
<li>
<label for="completed">
<%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
</label>
</li>
<% if @project.descendants.active.any? %>
<li>
<%= hidden_field_tag 'with_subprojects', 0 %>
<label>
<%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%>
</label>
</li>
<% end %>
</ul>
<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<% end %>