OSDN Git Service

Added html part to news_added mail.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 12 Oct 2007 17:22:18 +0000 (17:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 12 Oct 2007 17:22:18 +0000 (17:22 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@833 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/mailer/news_added.text.html.rhtml [new file with mode: 0644]
app/views/mailer/news_added.text.plain.rhtml [moved from app/views/mailer/news_added.rhtml with 99% similarity]

diff --git a/app/views/mailer/news_added.text.html.rhtml b/app/views/mailer/news_added.text.html.rhtml
new file mode 100644 (file)
index 0000000..7de6f48
--- /dev/null
@@ -0,0 +1,4 @@
+<%= link_to @news.title, :only_path => false, :host => Setting.host_name, :controller => 'news', :action => 'show', :id => @news %><br />
+<em><%= @news.author.name %></em>
+
+<%= textilizable(@news.description) %>