% 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) %> - <%= journal.user.name %>
<% for detail in journal.details %>
- <%= show_detail(detail) %>
<% end %>
<%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %>
<% end %>