Fixed: empty ul tag for issue updates with notes only (#5281).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3666 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 15 years ago
parent f77e5d093a
commit 734f8324ea
  1. 8
      app/views/issues/_history.rhtml

@ -6,11 +6,13 @@
<%= content_tag('a', '', :name => "note-#{journal.indice}")%>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
<ul>
<% for detail in journal.details %>
<% if journal.details.any? %>
<ul class="details">
<% for detail in journal.details %>
<li><%= show_detail(detail) %></li>
<% end %>
<% end %>
</ul>
<% end %>
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
</div>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>

Loading…
Cancel
Save