##// END OF EJS Templates
Fixed: empty ul tag for issue updates with notes only (#5281)....
Jean-Philippe Lang -
r3552:734f8324eac6
parent child
Show More
@@ -1,17 +1,19
1 <% reply_links = authorize_for('issues', 'edit') -%>
1 <% reply_links = authorize_for('issues', 'edit') -%>
2 <% for journal in journals %>
2 <% for journal in journals %>
3 <div id="change-<%= journal.id %>" class="journal">
3 <div id="change-<%= journal.id %>" class="journal">
4 <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
4 <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
5 <%= avatar(journal.user, :size => "24") %>
5 <%= avatar(journal.user, :size => "24") %>
6 <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
6 <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
7 <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
7 <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
8
8
9 <ul>
9 <% if journal.details.any? %>
10 <% for detail in journal.details %>
10 <ul class="details">
11 <% for detail in journal.details %>
11 <li><%= show_detail(detail) %></li>
12 <li><%= show_detail(detail) %></li>
12 <% end %>
13 <% end %>
13 </ul>
14 </ul>
15 <% end %>
14 <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
16 <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
15 </div>
17 </div>
16 <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
18 <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
17 <% end %>
19 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now