diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-27 10:57:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-05-27 10:57:13 +0000 |
commit | f04225321c3ea0b56699fd667611ec867c6c458d (patch) | |
tree | 7d70c4367f08c71535891e03928e842434e82dfe /app/views/mailer | |
parent | f12315075fc5780c68093610295ace7ae2c4ac78 (diff) | |
download | redmine-f04225321c3ea0b56699fd667611ec867c6c458d.tar.gz redmine-f04225321c3ea0b56699fd667611ec867c6c458d.zip |
Account information can now be sent to the user when creating an account.
ActionMailer logger set to nil for production environment to disable email contents output in production.log
git-svn-id: http://redmine.rubyforge.org/svn/trunk@546 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r-- | app/views/mailer/account_information.rhtml | 9 | ||||
-rw-r--r-- | app/views/mailer/account_information_fr.rhtml | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app/views/mailer/account_information.rhtml b/app/views/mailer/account_information.rhtml new file mode 100644 index 000000000..058d5fc44 --- /dev/null +++ b/app/views/mailer/account_information.rhtml @@ -0,0 +1,9 @@ +<% if @user.auth_source %>You can use your "<%= @user.auth_source.name %>" account to log into Redmine. +<% else %>Your Redmine account information: +* Login: <%= @user.login %> +* Password: <%= @password %> +<% end %> +Log in: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'login' %> +<% unless @user.auth_source %> +You can change your password here: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'my', :action => 'account' %> +<% end %> diff --git a/app/views/mailer/account_information_fr.rhtml b/app/views/mailer/account_information_fr.rhtml new file mode 100644 index 000000000..9210988f4 --- /dev/null +++ b/app/views/mailer/account_information_fr.rhtml @@ -0,0 +1,9 @@ +<% if @user.auth_source %>Vous pouvez utiliser votre compte "<%= @user.auth_source.name %>" pour vous connecter à Redmine. +<% else %>Paramètres de connexion de votre compte Redmine: +* Identifiant: <%= @user.login %> +* Mot de passe: <%= @password %> +<% end %> +Pour se connecter à l'application: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'account', :action => 'login' %> +<% unless @user.auth_source %> +Vous pouvez changer votre mot de passe à l'adresse: <%= url_for :only_path => false, :host => Setting.host_name, :controller => 'my', :action => 'account' %> +<% end %> |