2020-06-09 08:23:06 +00:00
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell.hero
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center.padded
|
2022-04-06 18:58:12 +00:00
|
|
|
%table.hero-icon.warning-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
2020-06-09 08:23:06 +00:00
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td
|
2022-04-06 18:58:12 +00:00
|
|
|
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
2020-06-09 08:23:06 +00:00
|
|
|
|
2022-04-06 18:58:12 +00:00
|
|
|
%h1= t 'user_mailer.suspicious_sign_in.title'
|
|
|
|
%p= t 'user_mailer.suspicious_sign_in.explanation'
|
2020-06-09 08:23:06 +00:00
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center
|
2022-04-06 18:58:12 +00:00
|
|
|
%p= t 'user_mailer.suspicious_sign_in.details'
|
2020-06-09 08:23:06 +00:00
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center
|
|
|
|
%p
|
2023-10-25 12:01:00 +00:00
|
|
|
%strong #{t('sessions.ip')}:
|
2020-06-09 08:23:06 +00:00
|
|
|
= @remote_ip
|
|
|
|
%br/
|
2023-10-25 12:01:00 +00:00
|
|
|
%strong #{t('sessions.browser')}:
|
2023-03-15 19:07:43 +00:00
|
|
|
%span{ title: @user_agent }= t 'sessions.description', browser: t("sessions.browsers.#{@detection.id}", default: @detection.id.to_s), platform: t("sessions.platforms.#{@detection.platform.id}", default: @detection.platform.id.to_s)
|
2020-06-09 08:23:06 +00:00
|
|
|
%br/
|
2023-09-06 15:25:39 +00:00
|
|
|
= l(@timestamp.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
2020-06-09 08:23:06 +00:00
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center
|
2022-04-06 18:58:12 +00:00
|
|
|
%p= t 'user_mailer.suspicious_sign_in.further_actions_html', action: link_to(t('user_mailer.suspicious_sign_in.change_password'), edit_user_registration_url)
|