From: Toshi MARUYAMA Date: Mon, 3 Oct 2011 15:17:58 +0000 (+0000) Subject: Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer... X-Git-Tag: 1.3.0~412 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac6aaf3f67a440ba2ffa44b4749ac66aab4311f0;p=redmine.git Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb new file mode 100644 index 000000000..3d851d442 --- /dev/null +++ b/app/views/mailer/_issue.html.erb @@ -0,0 +1,15 @@ +

<%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %>

+ + + +<%= textilizable(issue, :description, :only_path => false) %> diff --git a/app/views/mailer/_issue_text_html.rhtml b/app/views/mailer/_issue_text_html.rhtml deleted file mode 100644 index 3d851d442..000000000 --- a/app/views/mailer/_issue_text_html.rhtml +++ /dev/null @@ -1,15 +0,0 @@ -

<%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %>

- - - -<%= textilizable(issue, :description, :only_path => false) %> diff --git a/app/views/mailer/issue_add.html.erb b/app/views/mailer/issue_add.html.erb index bc62306c1..2bceb7253 100644 --- a/app/views/mailer/issue_add.html.erb +++ b/app/views/mailer/issue_add.html.erb @@ -1,3 +1,3 @@ <%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
-<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %> diff --git a/app/views/mailer/issue_edit.html.erb b/app/views/mailer/issue_edit.html.erb index 05c67208e..53bd089e6 100644 --- a/app/views/mailer/issue_edit.html.erb +++ b/app/views/mailer/issue_edit.html.erb @@ -8,4 +8,4 @@ <%= textilizable(@journal, :notes, :only_path => false) %>
-<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %> +<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>