From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:52:18 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/issues/_history.rhtml. X-Git-Tag: 1.3.0~953 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e86d82c8ee066be5658af45fd38fcb32924fe39;p=redmine.git 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 --- 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) %> diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml deleted file mode 100644 index 9c9f78e71..000000000 --- a/app/views/issues/_history.rhtml +++ /dev/null @@ -1,21 +0,0 @@ -<% 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) %>