use li tags for completed versions in version index sidebar (#13242)
Contributed by Filou Centrinov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11782 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8d824f5088
commit
42753001ea
|
@ -68,10 +68,12 @@
|
|||
<p>
|
||||
<%= link_to_function l(:label_completed_versions),
|
||||
'$("#toggle-completed-versions").toggleClass("collapsed"); $("#completed-versions").toggle()',
|
||||
:id => 'toggle-completed-versions', :class => 'collapsible collapsed' %><br />
|
||||
<span id="completed-versions" style="display:none;">
|
||||
<%= @completed_versions.map {|version| link_to format_version_name(version), version_path(version)}.join("<br />\n").html_safe %>
|
||||
</span>
|
||||
:id => 'toggle-completed-versions', :class => 'collapsible collapsed' %>
|
||||
<ul id = "completed-versions" style = "display:none;">
|
||||
<% @completed_versions.each do |version| %>
|
||||
<li><%= link_to(format_version_name(version), version_path(version)) %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue