<% reply_links = authorize_for('issues', 'edit') -%> <% for journal in journals %>

<%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %>
<%= content_tag('a', '', :name => "note-#{journal.indice}")%> <%= format_time(journal.created_on) %> - <%= link_to_user(journal.user) %>

<%= avatar(journal.user, :size => "32") %> <%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %>
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> <% end %>