diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-04-11 17:10:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-04-11 17:10:26 +0000 |
commit | 734f8324eac6f46d0adc101969ffef1a6418487c (patch) | |
tree | 2bd6295d10441c152097e25354c441ae4e089cfe | |
parent | f77e5d093a0faa0f59c219bd8a3cdd73868e3bd1 (diff) | |
download | redmine-734f8324eac6f46d0adc101969ffef1a6418487c.tar.gz redmine-734f8324eac6f46d0adc101969ffef1a6418487c.zip |
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
-rw-r--r-- | app/views/issues/_history.rhtml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml index b57c543e6..7459eb352 100644 --- a/app/views/issues/_history.rhtml +++ b/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 }) %> |