From 8a3cb1895b8b9f1c69697e198f0ce1b0a79407e3 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Fri, 23 Jul 2010 14:26:08 +0200 Subject: [PATCH] use the provided helper in issue history --- app/views/issues/_history.rhtml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) 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 %>