summaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-21 14:10:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-21 14:10:07 +0000
commita200e97667a7367945389b5b6934c4a04d33f750 (patch)
tree0c041032b1b17c9b8330faefb4695b36259abcf6 /app/controllers/admin_controller.rb
parent2ee11c9089f5390508dfb786b0cbb7c6030ae605 (diff)
downloadredmine-a200e97667a7367945389b5b6934c4a04d33f750.tar.gz
redmine-a200e97667a7367945389b5b6934c4a04d33f750.zip
* Emails footer can now be customized from the admin interface (Admin -> Email notifications).
* Added html part to all email templates. git-svn-id: http://redmine.rubyforge.org/svn/trunk@858 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index bceab361c..b448affcc 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -49,6 +49,7 @@ class AdminController < ApplicationController
@notifiables = %w(issue_added issue_updated news_added document_added file_added message_posted)
if request.post?
Setting.notified_events = (params[:notified_events] || [])
+ Setting.emails_footer = params[:emails_footer] if params[:emails_footer]
flash[:notice] = l(:notice_successful_update)
redirect_to :controller => 'admin', :action => 'mail_options'
end