2008-05-30 21:42:25 +04:00
|
|
|
<% reply_links = authorize_for('issues', 'edit') -%>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% for journal in journals %>
|
2010-09-06 02:57:20 +04:00
|
|
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
2012-01-08 21:31:58 +04:00
|
|
|
<h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
|
2010-01-08 00:28:45 +03:00
|
|
|
<%= avatar(journal.user, :size => "24") %>
|
2008-10-30 05:58:04 +03:00
|
|
|
<%= content_tag('a', '', :name => "note-#{journal.indice}")%>
|
2011-09-18 02:59:49 +04:00
|
|
|
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
|
2011-09-17 10:03:39 +04:00
|
|
|
|
2010-04-11 21:10:26 +04:00
|
|
|
<% if journal.details.any? %>
|
|
|
|
<ul class="details">
|
2012-01-30 00:51:48 +04:00
|
|
|
<% details_to_strings(journal.details).each do |string| %>
|
|
|
|
<li><%= string %></li>
|
2010-04-11 21:10:26 +04:00
|
|
|
<% end %>
|
2008-10-30 05:58:04 +03:00
|
|
|
</ul>
|
2010-04-11 21:10:26 +04:00
|
|
|
<% end %>
|
2010-03-17 00:37:05 +03:00
|
|
|
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
|
2008-10-30 05:58:04 +03:00
|
|
|
</div>
|
2008-12-06 00:03:55 +03:00
|
|
|
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
2011-03-29 00:04:48 +04:00
|
|
|
|
|
|
|
<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
|