2013-08-01 10:33:49 +08:00
|
|
|
<% reply_links = authorize_for('issues', 'edit') -%>
|
|
|
|
<% for journal in journals %>
|
|
|
|
|
2013-09-09 10:24:32 +08:00
|
|
|
<!-- modified by bai -->
|
|
|
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>" style=" word-wrap: break-word; word-break: break-all">
|
|
|
|
<!-- end -->
|
2013-08-15 10:32:10 +08:00
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<tr>
|
2013-11-01 15:48:23 +08:00
|
|
|
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(journal.user), :class => "avatar") %></td>
|
2013-08-15 10:32:10 +08:00
|
|
|
<td>
|
|
|
|
<table width="580px" border="0">
|
|
|
|
<tr>
|
2013-08-22 20:54:55 +08:00
|
|
|
<!-- add by huang -->
|
2014-05-30 16:27:05 +08:00
|
|
|
<td colspan="1" valign="top"> <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %> <div id="note-<%= journal.indice %>"></div></td>
|
|
|
|
<td><%= render_links(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %></td>
|
2013-08-22 20:54:55 +08:00
|
|
|
<!--end-->
|
2013-08-15 10:32:10 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" width="580px" >
|
|
|
|
<p class="font_description">
|
|
|
|
<% if journal.details.any? %>
|
|
|
|
<span class="details"> <% details_to_strings(journal.details).each do |string| %>
|
|
|
|
|
|
|
|
<%= string %>
|
|
|
|
<% end %> </span>
|
|
|
|
<% end %>
|
|
|
|
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
|
|
|
|
</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="left"><span class="font_lighter"> <%= format_time journal.created_on %></span></td>
|
|
|
|
<td width="200" align="right" class="a"></td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="line_under"></div>
|
|
|
|
|
|
|
|
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
|