From 4e86d82c8ee066be5658af45fd38fcb32924fe39 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:52:18 +0000 Subject: rename .rhtml to .html.erb of app/views/issues/_history.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7010 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_history.html.erb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/views/issues/_history.html.erb (limited to 'app/views/issues/_history.html.erb') diff --git a/app/views/issues/_history.html.erb b/app/views/issues/_history.html.erb new file mode 100644 index 000000000..9c9f78e71 --- /dev/null +++ b/app/views/issues/_history.html.erb @@ -0,0 +1,21 @@ +<% reply_links = authorize_for('issues', 'edit') -%> +<% for journal in journals %> +
+

+ <%= avatar(journal.user, :size => "24") %> + <%= content_tag('a', '', :name => "note-#{journal.indice}")%> + <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>

+ + <% if journal.details.any? %> + + <% end %> + <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %> +
+ <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> +<% end %> + +<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %> -- cgit v1.2.3