From 626bf02a08fbefd5743d1a7d4f7c958e96c563e6 Mon Sep 17 00:00:00 2001 From: Michiel Beijen Date: Tue, 20 Mar 2018 20:04:50 +0100 Subject: [PATCH] Device mails: make profile link clickable (#1883) --- app/views/mailer/user_device_new/cs.html.erb | 2 +- app/views/mailer/user_device_new/de.html.erb | 2 +- app/views/mailer/user_device_new/en.html.erb | 2 +- app/views/mailer/user_device_new/fr.html.erb | 2 +- app/views/mailer/user_device_new/pt-br.html.erb | 2 +- app/views/mailer/user_device_new/zh-cn.html.erb | 2 +- app/views/mailer/user_device_new/zh-tw.html.erb | 2 +- app/views/mailer/user_device_new_location/cs.html.erb | 2 +- app/views/mailer/user_device_new_location/de.html.erb | 2 +- app/views/mailer/user_device_new_location/en.html.erb | 2 +- app/views/mailer/user_device_new_location/fr.html.erb | 2 +- app/views/mailer/user_device_new_location/pt-br.html.erb | 2 +- app/views/mailer/user_device_new_location/zh-cn.html.erb | 2 +- app/views/mailer/user_device_new_location/zh-tw.html.erb | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/views/mailer/user_device_new/cs.html.erb b/app/views/mailer/user_device_new/cs.html.erb index 28bcfd3f8..4c26d9d1d 100644 --- a/app/views/mailer/user_device_new/cs.html.erb +++ b/app/views/mailer/user_device_new/cs.html.erb @@ -12,7 +12,7 @@ Vaše IP: #{user_device.ip}

Vaše zařízení bylo přidáno do vašeho seznamu známých zařízení, jenž si můžete prohlédnout na níže zmíněném odkazu:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Pokud se nejedná o Vás, respektive o tom nic nevíte, odstraňte toto zařízení ze seznamu, změňte své heslo, případně smažte osobní přístupové tokeny a co nejdříve kontaktujte Vašeho administrátora. Takže nikdo jiný nebude mít neautorizovaný přístup do Vašeho účtu.

diff --git a/app/views/mailer/user_device_new/de.html.erb b/app/views/mailer/user_device_new/de.html.erb index a4b283ae9..a69d68d2f 100644 --- a/app/views/mailer/user_device_new/de.html.erb +++ b/app/views/mailer/user_device_new/de.html.erb @@ -12,7 +12,7 @@ Deine IP: #{user_device.ip}

Das Gerät wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Wenn dies nicht Du warst, entferne das Gerät aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.

diff --git a/app/views/mailer/user_device_new/en.html.erb b/app/views/mailer/user_device_new/en.html.erb index 70fc2bbd7..7f9b9fabb 100644 --- a/app/views/mailer/user_device_new/en.html.erb +++ b/app/views/mailer/user_device_new/en.html.erb @@ -12,7 +12,7 @@ Your IP: #{user_device.ip}

Your device has been added to your list of known devices, which you can view here:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.

diff --git a/app/views/mailer/user_device_new/fr.html.erb b/app/views/mailer/user_device_new/fr.html.erb index b3651657b..c446a7965 100644 --- a/app/views/mailer/user_device_new/fr.html.erb +++ b/app/views/mailer/user_device_new/fr.html.erb @@ -12,7 +12,7 @@ Votre IP: #{user_device.ip}

Votre appareil a été ajouté à votre liste d'appareils connus, que vous pouvez consulter ici:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Si ce n'était pas vous, supprimez l'appareil, modifiez le mot de passe de votre compte et contactez votre administrateur. Quelqu'un a peut-être obtenu un accès non autorisé à votre compte.

diff --git a/app/views/mailer/user_device_new/pt-br.html.erb b/app/views/mailer/user_device_new/pt-br.html.erb index 6fe4ad95f..fc244d754 100644 --- a/app/views/mailer/user_device_new/pt-br.html.erb +++ b/app/views/mailer/user_device_new/pt-br.html.erb @@ -12,7 +12,7 @@ Seu IP: #{user_device.ip}

Seu dispositivo foi adicionado na lista de dispositivos conhecidos, qual você pode ver aqui:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Se não foi você, remova o dispositivo, altere sua senha e entre em contato com o Administrador. Alguém pode ter ganho acesso não autorizado à sua conta.

diff --git a/app/views/mailer/user_device_new/zh-cn.html.erb b/app/views/mailer/user_device_new/zh-cn.html.erb index 9895d2065..43f60d42b 100644 --- a/app/views/mailer/user_device_new/zh-cn.html.erb +++ b/app/views/mailer/user_device_new/zh-cn.html.erb @@ -12,7 +12,7 @@ IP 地址: #{user_device.ip}

您可以点击如下连接查看那些设备被添加到已知清单里:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

如果这不是您的设备, 请删除该设备, 更改该帐号的密码, 并马上向系统管理员报告. 有可能是有人未经授权登录了您的帐号.

diff --git a/app/views/mailer/user_device_new/zh-tw.html.erb b/app/views/mailer/user_device_new/zh-tw.html.erb index 2a66d179e..314aabc00 100644 --- a/app/views/mailer/user_device_new/zh-tw.html.erb +++ b/app/views/mailer/user_device_new/zh-tw.html.erb @@ -12,7 +12,7 @@ IP 位址: #{user_device.ip}

你可以登入下面的網址查看有那些裝置被添加到已知的清單里:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

如果發現不是你熟悉的裝置, 請刪除這個裝置, 然后更改賬號密碼, 并立即向系統管理員報告, 有可能是別人未經許可登入了你的賬號.

diff --git a/app/views/mailer/user_device_new_location/cs.html.erb b/app/views/mailer/user_device_new_location/cs.html.erb index d6f14bdc1..5ebd5e367 100644 --- a/app/views/mailer/user_device_new_location/cs.html.erb +++ b/app/views/mailer/user_device_new_location/cs.html.erb @@ -12,7 +12,7 @@ Vaše IP: #{user_device.ip}

Tento stát bude přidán do seznamu známých zařízení, jenž můžete shlédnout v níže zmíněném odkazu:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Pokud se nejedná o Vás, respektive o tom nic nevíte, odstraňte toto zařízení ze seznamu, změňte své heslo, případně smažte osobní přístupové tokeny a co ne$
diff --git a/app/views/mailer/user_device_new_location/de.html.erb b/app/views/mailer/user_device_new_location/de.html.erb index d59269bcf..2bcd25c56 100644 --- a/app/views/mailer/user_device_new_location/de.html.erb +++ b/app/views/mailer/user_device_new_location/de.html.erb @@ -12,7 +12,7 @@ Deine IP: #{user_device.ip}

Das neue Land wurde in die Liste der bekannten Geräte hinzugefügt, diese Liste kannst Du hier einsehen:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Wenn dies nicht Du warst, entferne die neue Lokation aus der Liste, ändere Dein Account-Passwort und kontaktieren Deinen Administrator. Jemand könnte unberechtigten Zugriff auf Dein Konto bekommen haben.

diff --git a/app/views/mailer/user_device_new_location/en.html.erb b/app/views/mailer/user_device_new_location/en.html.erb index 6b9119591..817531229 100644 --- a/app/views/mailer/user_device_new_location/en.html.erb +++ b/app/views/mailer/user_device_new_location/en.html.erb @@ -12,7 +12,7 @@ Your IP: #{user_device.ip}

The country has been added to your list of known devices, which you can view here:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.

diff --git a/app/views/mailer/user_device_new_location/fr.html.erb b/app/views/mailer/user_device_new_location/fr.html.erb index 67b24ae80..68970bc95 100644 --- a/app/views/mailer/user_device_new_location/fr.html.erb +++ b/app/views/mailer/user_device_new_location/fr.html.erb @@ -12,7 +12,7 @@ Votre IP: #{user_device.ip}

Le pays a été ajouté à votre liste d'appareils connus, que vous pouvez l'afficher ici:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

Si ce n'était pas vous, supprimez l'appareil, modifiez le mot de passe de votre compte et contactez votre administrateur. Quelqu'un a peut-être obtenu un accès non autorisé à votre compte.

diff --git a/app/views/mailer/user_device_new_location/pt-br.html.erb b/app/views/mailer/user_device_new_location/pt-br.html.erb index ae1076d34..e349f9464 100644 --- a/app/views/mailer/user_device_new_location/pt-br.html.erb +++ b/app/views/mailer/user_device_new_location/pt-br.html.erb @@ -12,7 +12,7 @@ Seu IP: #{user_device.ip}

O País foi adicionado na sua lista de dispositivos conhecidos, que pode ser visto aqui:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

If this wasn't you, remove the device, changing your account password, and contacting your administrator. Somebody might have gained unauthorized access to your account.
Se não foi você, remova o dispositivo, altere sua senha e entre em contato com o Administrador. Alguém pode ter ganho acesso não autorizado à sua conta.
diff --git a/app/views/mailer/user_device_new_location/zh-cn.html.erb b/app/views/mailer/user_device_new_location/zh-cn.html.erb index eb8ecda96..01bd524ca 100644 --- a/app/views/mailer/user_device_new_location/zh-cn.html.erb +++ b/app/views/mailer/user_device_new_location/zh-cn.html.erb @@ -12,7 +12,7 @@ IP地址: #{user_device.ip}

您可以点击如下连接查看那些设备被添加到已知清单里:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

如果这不是您的设备, 请删除该设备, 更改该帐号的密码, 并马上向系统管理员报告. 有可能是有人未经授权登录了您的帐号.

diff --git a/app/views/mailer/user_device_new_location/zh-tw.html.erb b/app/views/mailer/user_device_new_location/zh-tw.html.erb index adf04bd35..71a845c0a 100644 --- a/app/views/mailer/user_device_new_location/zh-tw.html.erb +++ b/app/views/mailer/user_device_new_location/zh-tw.html.erb @@ -12,7 +12,7 @@ IP 位址: #{user_device.ip}

你可以登入下面的網址查看有那些裝置被添加到已知的清單里:

-
#{config.http_type}://#{config.fqdn}/#profile/devices
+
#{config.http_type}://#{config.fqdn}/#profile/devices

如果發現不是你熟悉的裝置, 請刪除這個裝置, 然后更改賬號密碼, 并立即向系統管理員報告, 有可能是別人未經許可登入了你的賬號.