summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/news_added.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-26 16:23:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-26 16:23:26 +0000
commitef962b84d7083b2b4d290d64b7089b596073c7be (patch)
tree91ee0de4a796fb0099b006cc2017647505f1366b /app/views/mailer/news_added.html.erb
parenta4c4edacfdf7665c29115b8707cb2814c11abaaa (diff)
downloadredmine-ef962b84d7083b2b4d290d64b7089b596073c7be.tar.gz
redmine-ef962b84d7083b2b4d290d64b7089b596073c7be.zip
Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer/news_added.html.erb')
-rw-r--r--app/views/mailer/news_added.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/mailer/news_added.html.erb b/app/views/mailer/news_added.html.erb
new file mode 100644
index 000000000..758ebccb8
--- /dev/null
+++ b/app/views/mailer/news_added.html.erb
@@ -0,0 +1,4 @@
+<h1><%= link_to(h(@news.title), @news_url) %></h1>
+<em><%=h @news.author.name %></em>
+
+<%= textilizable(@news, :description, :only_path => false) %>