2013-08-01 10:33:49 +08:00
|
|
|
<% reply_links = authorize_for('issues', 'edit') -%>
|
|
|
|
<% for journal in journals %>
|
2013-08-15 10:32:10 +08:00
|
|
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2013-08-15 10:32:10 +08:00
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(journal.user), :class => "avatar"), user_path(journal.user), :class => "avatar" %></td>
|
|
|
|
<td>
|
|
|
|
<table width="580px" border="0">
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top"><strong> <%= link_to journal.user, user_path(journal.user)%></strong> <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %> <div id="note-<%= journal.indice %>"></td>
|
|
|
|
</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) %>
|