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 %>">
|
2010-07-29 19:48:53 +04:00
|
|
|
<h4><div class="journal-link"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
|
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}")%>
|
2008-12-06 14:21:10 +03:00
|
|
|
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
|
2010-01-08 00:28:45 +03:00
|
|
|
|
2010-04-11 21:10:26 +04:00
|
|
|
<% if journal.details.any? %>
|
|
|
|
<ul class="details">
|
|
|
|
<% for detail in journal.details %>
|
2008-10-30 05:58:04 +03:00
|
|
|
<li><%= show_detail(detail) %></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) %>
|