refactor emails a bit. Add email on ssh key creation
This commit is contained in:
parent
52d3fa191f
commit
a3cdaeef66
9 changed files with 141 additions and 104 deletions
10
app/views/notify/new_ssh_key_email.html.haml
Normal file
10
app/views/notify/new_ssh_key_email.html.haml
Normal file
|
@ -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
|
7
app/views/notify/new_ssh_key_email.text.erb
Normal file
7
app/views/notify/new_ssh_key_email.text.erb
Normal file
|
@ -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 %>
|
Loading…
Add table
Add a link
Reference in a new issue