% reply_links = authorize_for('issues', 'edit') -%>
<% for journal in journals %>
<%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %>
<%= avatar(journal.user, :size => "24") %>
<%= content_tag('a', '', :name => "note-#{journal.indice}")%>
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
<% if journal.source.present? && journal.source == 'Orangutan' %>
<%= l(:label_using) %>
<%= link_to 'Orangutan', 'http://projects.andriylesyuk.com/projects/orangutan' %>
<% end %>
<% if journal.details.any? %>
<% for detail in journal.details %>
- <%= show_detail(detail) %>
<% end %>
<% end %>
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
<% 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) %>