<% reply_links = authorize_for('issues', 'edit') -%> <% for journal in journals %>
<%= gravatar(journal.user.mail.blank? ? "" : journal.user.mail, :size => "48") %>

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

<%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %>
<% end %>