diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml index 10db8f4f..4193403a 100644 --- a/app/views/issues/_history.rhtml +++ b/app/views/issues/_history.rhtml @@ -1,21 +1,4 @@ -<% reply_links = authorize_for('issues', 'edit') -%> <% for journal in journals %> -
-

<%= link_to "##{journal.version}", :anchor => "note-#{journal.version}" %>
- <%= avatar(journal.user, :size => "24") %> - <%= content_tag('a', '', :name => "note-#{journal.version}")%> - <%= authoring journal.created_at, journal.user, :label => :label_updated_time_by %>

- - <% if journal.details.any? %> - - <% end %> - <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %> -
+ <%= render_journal(issue, journal) %> <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> <% end %>