changeset 80:0a679b5bd3b3 luisf

Feature #53: Added the description to the admin's email. May need future fixes in terms of format (HTML and Plain text mail versions).
author luisf
date Wed, 15 Dec 2010 16:13:57 +0000
parents f549e0ce4aad
children b5fbd125d70b
files app/views/mailer/account_activation_request.text.html.rhtml app/views/mailer/account_activation_request.text.plain.rhtml
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/mailer/account_activation_request.text.html.rhtml	Tue Dec 14 17:51:34 2010 +0000
+++ b/app/views/mailer/account_activation_request.text.html.rhtml	Wed Dec 15 16:13:57 2010 +0000
@@ -1,2 +1,6 @@
 <p><%= l(:mail_body_account_activation_request, h(@user.login)) %></p>
+
+<h4><%= l(:label_ssamr_details) %></h4>
+<p><%= textilizable @user.ssamr_user_detail['description'] %></p>
+
 <p><%= link_to @url, @url %></p>
--- a/app/views/mailer/account_activation_request.text.plain.rhtml	Tue Dec 14 17:51:34 2010 +0000
+++ b/app/views/mailer/account_activation_request.text.plain.rhtml	Wed Dec 15 16:13:57 2010 +0000
@@ -1,2 +1,6 @@
 <%= l(:mail_body_account_activation_request, @user.login) %>
+
+*<%= l(:label_ssamr_details) %>*
+<%= h @user.ssamr_user_detail['description'] %>
+
 <%= @url %>