Skip to content
Snippets Groups Projects
Commit ddd0796e authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

show "no data" label when there's nothing to display on changelog and roadmap

git-svn-id: http://redmine.rubyforge.org/svn/trunk@255 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4ef86b96
Branches
Tags
No related merge requests found
......@@ -13,6 +13,8 @@
<% end %>
</div>
<% if @fixed_issues.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
<% ver_id = nil
@fixed_issues.each do |issue| %>
<% unless ver_id == issue.fixed_version_id %>
......
......@@ -13,6 +13,8 @@
<% end %>
</div>
<% if @versions.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
<% @versions.each do |version| %>
<h3 class="icon22 icon22-package"><%= version.name %></h3>
<p><%= format_date(version.effective_date) %><br />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment