summaryrefslogtreecommitdiffstats
path: root/app/views/mailer
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-14 15:30:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-14 15:30:46 +0000
commit23264ec3eb8e17543922a0093ed402a9d7ba5de9 (patch)
tree94817aaa5e78fe305732196d5c4ed79602a2ea78 /app/views/mailer
parent1fa1f620183d2268e906deadb1c5f87a0335d518 (diff)
downloadredmine-23264ec3eb8e17543922a0093ed402a9d7ba5de9.tar.gz
redmine-23264ec3eb8e17543922a0093ed402a9d7ba5de9.zip
Mail notification options restored (default is: issue_added and issue_updated).
Added mail notification when adding a news (disabled by default). git-svn-id: http://redmine.rubyforge.org/svn/trunk@728 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r--app/views/mailer/news_added.rhtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/mailer/news_added.rhtml b/app/views/mailer/news_added.rhtml
new file mode 100644
index 000000000..18ddfe17d
--- /dev/null
+++ b/app/views/mailer/news_added.rhtml
@@ -0,0 +1,6 @@
+<%= @news.title %>
+<%= url_for :only_path => false, :host => Setting.host_name, :controller => 'news', :action => 'show', :id => @news %>
+<%= @news.author.name %>
+
+<%= @news.description %>
+