refactor emails a bit. Add email on ssh key creation

This commit is contained in:
Dmitriy Zaporozhets 2013-03-19 20:00:41 +02:00
parent 52d3fa191f
commit a3cdaeef66
9 changed files with 141 additions and 104 deletions

View 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

View 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 %>