diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-13 11:20:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-13 11:20:58 +0000 |
commit | 57ea399757d8b4d81026d7313736894519f2a4a1 (patch) | |
tree | d5317fe80a2ceec8f9f95c58b762444c3ce7501b /app | |
parent | b39ed081142afd082b5022c4bc2b8e5194ccf608 (diff) | |
download | redmine-57ea399757d8b4d81026d7313736894519f2a4a1.tar.gz redmine-57ea399757d8b4d81026d7313736894519f2a4a1.zip |
Put roadmap versions in <article> tags (#19341).
Patch by An Phan.
git-svn-id: http://svn.redmine.org/redmine/trunk@14309 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/versions/index.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 65926bbd9..6a3f6f977 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -10,7 +10,10 @@ <% else %> <div id="roadmap"> <% @versions.each do |version| %> - <h3 class="version"><%= link_to_version version, :name => version_anchor(version) %></h3> + <article class="version-article <%= version.completed? ? 'version-completed' : 'version-incompleted' %>"> + <header> + <h3 class="version"><%= link_to_version version, :name => version_anchor(version) %></h3> + </header> <%= render :partial => 'versions/overview', :locals => {:version => version} %> <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> @@ -28,6 +31,7 @@ <% end %> <% end %> <%= call_hook :view_projects_roadmap_version_bottom, :version => version %> + </article> <% end %> </div> <% end %> |