diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 20:00:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-19 20:00:41 +0200 |
commit | a3cdaeef6654edac27a07fac8189c581977827e5 (patch) | |
tree | 4b73e8662e5e03bbe19d2cf3ebb7db4b50f5ec55 /app/views | |
parent | 52d3fa191f570ddfad4549e848f45d90327e3df6 (diff) | |
download | gitlab-ce-a3cdaeef6654edac27a07fac8189c581977827e5.tar.gz |
refactor emails a bit. Add email on ssh key creation
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/notify/new_ssh_key_email.html.haml | 10 | ||||
-rw-r--r-- | app/views/notify/new_ssh_key_email.text.erb | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/app/views/notify/new_ssh_key_email.html.haml b/app/views/notify/new_ssh_key_email.html.haml new file mode 100644 index 00000000000..57f4297e6cb --- /dev/null +++ b/app/views/notify/new_ssh_key_email.html.haml @@ -0,0 +1,10 @@ +%p + Hi #{@user.name}! +%p + A new public key was added to your account: +%p + title: + %code= @key.title +%p + If this key was added in error, you can remove here: + = link_to "SSH Keys", keys_url diff --git a/app/views/notify/new_ssh_key_email.text.erb b/app/views/notify/new_ssh_key_email.text.erb new file mode 100644 index 00000000000..71974eab975 --- /dev/null +++ b/app/views/notify/new_ssh_key_email.text.erb @@ -0,0 +1,7 @@ +Hi <%= @user.name %>! + +A new public key was added to your account: + +title.................. <%= @key.title %> + +If this key was added in error, you can remove here: <%= keys_url %> |