From 1db7d465699ebc2d4b5f66f801cf1fb4d5b77ddb Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 24 Mar 2016 14:39:47 +0100 Subject: [PATCH] Added device info. --- app/views/mailer/user_device/de.html.erb | 1 + app/views/mailer/user_device/en.html.erb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/mailer/user_device/de.html.erb b/app/views/mailer/user_device/de.html.erb index 254f1c610..64c2d014d 100644 --- a/app/views/mailer/user_device/de.html.erb +++ b/app/views/mailer/user_device/de.html.erb @@ -5,6 +5,7 @@

es sieht aus, als ob Du Dich bei <%= c 'product_name' %> mit einem neuen Gerät um "<%= d 'user_device.created_at' %>" angemeldet hast:


+Dein Gerät: <%= d 'user_device.name' %>
Deine Lokation (relativ): <%= d 'user_device.location' %>
Deine IP: <%= d 'user_device.ip' %>
diff --git a/app/views/mailer/user_device/en.html.erb b/app/views/mailer/user_device/en.html.erb index 6733edf7a..a44f42fa8 100644 --- a/app/views/mailer/user_device/en.html.erb +++ b/app/views/mailer/user_device/en.html.erb @@ -5,7 +5,8 @@

It looks like you signed into your <%= c 'product_name' %> account using a new device on "<%= d 'user_device.created_at' %>":


-Your location: <%= d 'user_device.location' %>
+Your device: <%= d 'user_device.name' %>
+Your location (relative): <%= d 'user_device.location' %>
Your IP: <%= d 'user_device.ip' %>