You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.9 KiB
68 lines
2.9 KiB
5 years ago
|
%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
|
||
3 years ago
|
%table.hero-icon.warning-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
||
5 years ago
|
%tbody
|
||
|
%tr
|
||
|
%td
|
||
3 years ago
|
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
||
5 years ago
|
|
||
3 years ago
|
%h1= t 'user_mailer.suspicious_sign_in.title'
|
||
|
%p= t 'user_mailer.suspicious_sign_in.explanation'
|
||
5 years ago
|
|
||
|
%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
|
||
3 years ago
|
%p= t 'user_mailer.suspicious_sign_in.details'
|
||
5 years ago
|
%tr
|
||
|
%td.column-cell.text-center
|
||
|
%p
|
||
|
%strong= "#{t('sessions.ip')}:"
|
||
|
= @remote_ip
|
||
|
%br/
|
||
|
%strong= "#{t('sessions.browser')}:"
|
||
|
%span{ title: @user_agent }= t 'sessions.description', browser: t("sessions.browsers.#{@detection.id}", default: "#{@detection.id}"), platform: t("sessions.platforms.#{@detection.platform.id}", default: "#{@detection.platform.id}")
|
||
|
%br/
|
||
|
= l(@timestamp)
|
||
|
|
||
|
%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
|
||
3 years ago
|
%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)
|