##// END OF EJS Templates
code layout clean up app/views/versions/index.html.erb...
Toshi MARUYAMA -
r11548:22a78856051f
parent child
Show More
@@ -1,5 +1,6
1 1 <div class="contextual">
2 <%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>
2 <%= link_to(l(:label_version_new), new_project_version_path(@project),
3 :class => 'icon icon-add') if User.current.allowed_to?(:manage_versions, @project) %>
3 4 </div>
4 5
5 6 <h2><%=l(:label_roadmap)%></h2>
@@ -11,8 +12,8
11 12 <% @versions.each do |version| %>
12 13 <h3 class="version"><%= link_to_version version, :name => version_anchor(version) %></h3>
13 14 <%= render :partial => 'versions/overview', :locals => {:version => version} %>
14 <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
15
15 <%= render(:partial => "wiki/content",
16 :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
16 17 <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
17 18 <%= form_tag({}) do -%>
18 19 <table class="list related-issues">
General Comments 0
You need to be logged in to leave comments. Login now