After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 954 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 505 B |
After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 547 B |
|
@ -0,0 +1,8 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: Inter;
|
||||||
|
src: url('../fonts/inter/inter-variable-font-slnt-wght.woff2')
|
||||||
|
format('woff2-variations');
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-style: normal;
|
||||||
|
mso-generic-font-family: swiss; /* stylelint-disable-line property-no-unknown -- Proprietary property for Outlook on Windows. */
|
||||||
|
}
|
|
@ -12,6 +12,8 @@ class NotificationMailer < ApplicationMailer
|
||||||
|
|
||||||
default to: -> { email_address_with_name(@user.email, @me.username) }
|
default to: -> { email_address_with_name(@user.email, @me.username) }
|
||||||
|
|
||||||
|
layout 'mailer'
|
||||||
|
|
||||||
def mention
|
def mention
|
||||||
return unless @user.functional? && @status.present?
|
return unless @user.functional? && @status.present?
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
%table.email-btn-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-btn-td
|
||||||
|
= link_to "#{text} ➜", url, class: 'email-btn-a email-btn-hover'
|
|
@ -0,0 +1,29 @@
|
||||||
|
%table.email-w-full.email-checklist-wrapper-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-checklist-wrapper-td
|
||||||
|
%table.email-w-full.email-checklist-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-checklist-td
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-checklist-icons-td
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-checklist-icons-checkbox-td
|
||||||
|
- if defined?(checked) && checked
|
||||||
|
= image_tag full_pack_url('media/images/mailer-new/welcome/checkbox-on.png'), alt: '', width: 20, height: 20
|
||||||
|
- else
|
||||||
|
= image_tag full_pack_url('media/images/mailer-new/welcome/checkbox-off.png'), alt: '', width: 20, height: 20
|
||||||
|
%td.email-checklist-icons-step-td
|
||||||
|
- if defined?(step_image_url)
|
||||||
|
= image_tag step_image_url, alt: '', width: 40, height: 40
|
||||||
|
%td.email-checklist-text-td
|
||||||
|
.email-desktop-flex
|
||||||
|
%div
|
||||||
|
- if defined?(title)
|
||||||
|
%h3= title
|
||||||
|
- if defined?(text)
|
||||||
|
%p= text
|
||||||
|
%div
|
||||||
|
- if defined?(button_text) && defined?(button_url) && defined?(checked) && !checked
|
||||||
|
= render 'application/mailer/button', text: button_text, url: button_url
|
|
@ -0,0 +1,4 @@
|
||||||
|
%table.email-w-full.email-frame-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-frame-td
|
||||||
|
%p= text
|
|
@ -0,0 +1,13 @@
|
||||||
|
%table.email-w-full.email-header-heading-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-header-heading-td
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
- if defined?(heading_image_url)
|
||||||
|
%td.email-header-heading-img-td
|
||||||
|
= image_tag heading_image_url, alt: '', width: 56, height: 56
|
||||||
|
%td.email-header-heading-txt-td
|
||||||
|
- if defined?(heading_title)
|
||||||
|
%h1= heading_title
|
||||||
|
- if defined?(heading_subtitle)
|
||||||
|
%p= heading_subtitle
|
|
@ -1,54 +1,87 @@
|
||||||
!!!
|
!!!
|
||||||
%html{ lang: I18n.locale }
|
%html{ lang: I18n.locale, dir: locale_direction }
|
||||||
%head
|
%head
|
||||||
%meta{ 'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=utf-8' }/
|
%meta{ 'charset' => 'utf-8' }
|
||||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, shrink-to-fit=no' }
|
%title Mastodon
|
||||||
|
%meta{ name: 'x-apple-disable-message-reformatting' }
|
||||||
|
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
|
||||||
|
%meta{ name: 'format-detection', content: 'telephone=no, date=no, address=no, email=no, url=no' }
|
||||||
|
%meta{ name: 'supported-color-schemes', content: 'light' }
|
||||||
|
%style
|
||||||
|
\table { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
|
||||||
|
%style{ 'data-premailer': 'ignore' }
|
||||||
|
\.email a { color: inherit; text-decoration: none; }
|
||||||
|
\.email-btn-hover:hover { background-color: #563acc !important; }
|
||||||
|
/[if mso]
|
||||||
|
<xml>
|
||||||
|
<o:OfficeDocumentSettings xmlns:o="urn:schemas-microsoft-com:office:office">
|
||||||
|
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||||||
|
</o:OfficeDocumentSettings>
|
||||||
|
</xml>
|
||||||
= stylesheet_pack_tag 'mailer'
|
= stylesheet_pack_tag 'mailer'
|
||||||
%body{ dir: locale_direction }
|
%body
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
.email{ dir: locale_direction }
|
||||||
%tbody
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.email-body.email-start
|
%td.email-desktop-p-8
|
||||||
.email-container
|
.email-container
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
/[if mso]
|
||||||
%tbody
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:740px;" role="presentation"><tr><td>
|
||||||
%tr
|
%table.email-w-full.email-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.content-cell.header
|
%tr
|
||||||
.email-row
|
%td.email-card-td.email-desktop-rounded-16px
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell
|
|
||||||
= link_to root_url do
|
|
||||||
= image_tag full_pack_url('media/images/mailer/wordmark.png'), alt: 'Mastodon', height: 34, class: 'logo'
|
|
||||||
|
|
||||||
= yield
|
-# Header
|
||||||
|
%table.email-header-table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-header-td
|
||||||
|
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
-# Logo
|
||||||
%tbody
|
%table.email-header-logo-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.email-body.email-end
|
%td.email-header-logo-td
|
||||||
|
/[if mso]
|
||||||
|
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="false" stroke="false" style="position:absolute; left:40px; top:26px; width:636px;"><v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
|
||||||
|
.email-header-logo-div
|
||||||
|
%p.email-header-logo-p
|
||||||
|
%span.email-header-logo-span
|
||||||
|
= '/ '
|
||||||
|
= site_hostname
|
||||||
|
/[if mso]
|
||||||
|
</v:textbox></v:rect>
|
||||||
|
= link_to root_url, class: 'email-header-logo-a' do
|
||||||
|
= image_tag full_pack_url('media/images/mailer-new/common/logo-header.png'), alt: 'Mastodon', width: 157, height: 40
|
||||||
|
|
||||||
|
-# Heading
|
||||||
|
= yield :heading
|
||||||
|
|
||||||
|
.email-header-after-div
|
||||||
|
.email-header-after-inside-div
|
||||||
|
%table.email-body-table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-body-td
|
||||||
|
-# Content
|
||||||
|
= yield
|
||||||
|
|
||||||
|
/[if mso]
|
||||||
|
</td></tr></table>
|
||||||
|
|
||||||
|
-# Footer
|
||||||
.email-container
|
.email-container
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
/[if mso]
|
||||||
%tbody
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:740px;" role="presentation"><tr><td>
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.content-cell.content-end
|
%tr
|
||||||
!= ' '
|
%td.email-footer-td
|
||||||
%tr
|
%p.email-footer-p
|
||||||
%td.blank-cell.footer
|
= link_to root_url, class: 'email-footer-logo-a' do
|
||||||
.email-row
|
= image_tag full_pack_url('media/images/mailer-new/common/logo-footer.png'), alt: 'Mastodon', width: 44, height: 44
|
||||||
.col-6
|
%p.email-footer-p
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= t 'about.hosted_on', domain: site_hostname
|
||||||
%tbody
|
%p.email-footer-p
|
||||||
%td.column-cell
|
= link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url
|
||||||
%p= t 'about.hosted_on', domain: site_hostname
|
- if defined?(@unsubscribe_url)
|
||||||
%p
|
·
|
||||||
= link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url
|
= link_to t('application_mailer.unsubscribe'), @unsubscribe_url
|
||||||
- if defined?(@unsubscribe_url)
|
/[if mso]
|
||||||
·
|
</td></tr></table>
|
||||||
= link_to t('application_mailer.unsubscribe'), @unsubscribe_url
|
|
||||||
%td.column-cell.text-right
|
|
||||||
= link_to root_url do
|
|
||||||
= image_tag full_pack_url('media/images/mailer/logo.png'), alt: 'Mastodon', height: 24
|
|
||||||
|
|
|
@ -1,45 +1,31 @@
|
||||||
- i ||= 0
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
- highlighted ||= false
|
%tr
|
||||||
|
%td.email-status-header-img
|
||||||
|
= image_tag full_asset_url(status.account.avatar.url), alt: '', width: 48, height: 48
|
||||||
|
%td.email-status-header-text
|
||||||
|
%h2.email-status-header-name
|
||||||
|
= display_name(status.account)
|
||||||
|
%p.email-status-header-handle
|
||||||
|
@#{status.account.pretty_acct}
|
||||||
|
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0, dir: 'ltr' }
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-status-content
|
||||||
%td.email-body
|
.auto-dir
|
||||||
.email-container
|
- if status.spoiler_text?
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%p.email-status-spoiler
|
||||||
%tbody
|
= status.spoiler_text
|
||||||
%tr
|
|
||||||
%td.content-cell{ class: i.zero? ? 'content-start' : nil }
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.padded.status{ class: highlighted ? 'status--highlighted' : '' }
|
|
||||||
%table.status-header{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td{ align: 'left', width: 48 }
|
|
||||||
= image_tag full_asset_url(status.account.avatar.url), alt: ''
|
|
||||||
%td{ align: 'left' }
|
|
||||||
%bdi= display_name(status.account)
|
|
||||||
@#{status.account.pretty_acct}
|
|
||||||
|
|
||||||
- if status.spoiler_text?
|
.email-status-prose
|
||||||
.auto-dir
|
= status_content_format(status)
|
||||||
%p
|
|
||||||
= status.spoiler_text
|
|
||||||
|
|
||||||
.auto-dir
|
- if status.ordered_media_attachments.size.positive?
|
||||||
= status_content_format(status)
|
%p.email-status-media
|
||||||
|
- status.ordered_media_attachments.each do |a|
|
||||||
|
- if status.local?
|
||||||
|
= link_to full_asset_url(a.file.url(:original)), full_asset_url(a.file.url(:original))
|
||||||
|
- else
|
||||||
|
= link_to a.remote_url, a.remote_url
|
||||||
|
|
||||||
- if status.ordered_media_attachments.size.positive?
|
%p.email-status-footer
|
||||||
%p
|
= link_to l(status.created_at.in_time_zone(time_zone.presence), format: :with_time_zone), web_url("@#{status.account.pretty_acct}/#{status.id}")
|
||||||
- status.ordered_media_attachments.each do |a|
|
|
||||||
- if status.local?
|
|
||||||
= link_to full_asset_url(a.file.url(:original)), full_asset_url(a.file.url(:original))
|
|
||||||
- else
|
|
||||||
= link_to a.remote_url, a.remote_url
|
|
||||||
|
|
||||||
%p.status-footer
|
|
||||||
= link_to l(status.created_at.in_time_zone(time_zone.presence), format: :with_time_zone), web_url("@#{status.account.pretty_acct}/#{status.id}")
|
|
||||||
|
|
|
@ -1,45 +1,13 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('notification_mailer.favourite.title'), heading_subtitle: t('notification_mailer.favourite.body', name: @account.pretty_acct), heading_image_url: full_pack_url('media/images/mailer-new/heading/favorite.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td
|
||||||
|
= render 'status', status: @status, time_zone: @me.user_time_zone
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-padding-top-24
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('application_mailer.view_status'), url: web_url("@#{@status.account.pretty_acct}/#{@status.id}")
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_grade.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'notification_mailer.favourite.title'
|
|
||||||
%p.lead= t('notification_mailer.favourite.body', name: @account.pretty_acct)
|
|
||||||
|
|
||||||
= render 'status', status: @status, time_zone: @me.user_time_zone
|
|
||||||
|
|
||||||
%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.content-start.border-top
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url("@#{@status.account.pretty_acct}/#{@status.id}") do
|
|
||||||
%span= t 'application_mailer.view_status'
|
|
||||||
|
|
|
@ -1,43 +1,9 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('notification_mailer.follow.title'), heading_subtitle: t('notification_mailer.follow.body', name: @account.pretty_acct), heading_image_url: full_pack_url('media/images/mailer-new/heading/user.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td
|
||||||
%td.content-cell.hero
|
= render 'application/mailer/button', text: t('application_mailer.view_profile'), url: web_url("@#{@account.pretty_acct}")
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_person_add.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'notification_mailer.follow.title'
|
|
||||||
%p.lead= t('notification_mailer.follow.body', name: @account.pretty_acct)
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url("@#{@account.pretty_acct}") do
|
|
||||||
%span= t 'application_mailer.view_profile'
|
|
||||||
|
|
|
@ -1,43 +1,9 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('notification_mailer.follow_request.title'), heading_subtitle: t('notification_mailer.follow_request.body', name: @account.pretty_acct), heading_image_url: full_pack_url('media/images/mailer-new/heading/follow.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td
|
||||||
%td.content-cell.hero
|
= render 'application/mailer/button', text: t('notification_mailer.follow_request.action'), url: web_url('follow_requests')
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_person_add.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'notification_mailer.follow_request.title'
|
|
||||||
%p.lead= t('notification_mailer.follow_request.body', name: @account.pretty_acct)
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url('follow_requests') do
|
|
||||||
%span= t 'notification_mailer.follow_request.action'
|
|
||||||
|
|
|
@ -1,45 +1,13 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('notification_mailer.mention.title'), heading_subtitle: t('notification_mailer.mention.body', name: @status.account.pretty_acct), heading_image_url: full_pack_url('media/images/mailer-new/heading/mention.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td
|
||||||
|
= render 'status', status: @status, time_zone: @me.user_time_zone
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-padding-top-24
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('notification_mailer.mention.action'), url: web_url("@#{@status.account.pretty_acct}/#{@status.id}")
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_reply.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'notification_mailer.mention.title'
|
|
||||||
%p.lead= t('notification_mailer.mention.body', name: @status.account.pretty_acct)
|
|
||||||
|
|
||||||
= render 'status', status: @status, time_zone: @me.user_time_zone
|
|
||||||
|
|
||||||
%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.content-start.border-top
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url("@#{@status.account.pretty_acct}/#{@status.id}") do
|
|
||||||
%span= t 'notification_mailer.mention.action'
|
|
||||||
|
|
|
@ -1,45 +1,13 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('notification_mailer.reblog.title'), heading_subtitle: t('notification_mailer.reblog.body', name: @account.pretty_acct), heading_image_url: full_pack_url('media/images/mailer-new/heading/boost.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td
|
||||||
|
= render 'status', status: @status, time_zone: @me.user_time_zone
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-padding-top-24
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('application_mailer.view_status'), url: web_url("@#{@status.account.pretty_acct}/#{@status.id}")
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_cached.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'notification_mailer.reblog.title'
|
|
||||||
%p.lead= t('notification_mailer.reblog.body', name: @account.pretty_acct)
|
|
||||||
|
|
||||||
= render 'status', status: @status, time_zone: @me.user_time_zone
|
|
||||||
|
|
||||||
%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.content-start.border-top
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url("@#{@status.account.pretty_acct}/#{@status.id}") do
|
|
||||||
%span= t 'application_mailer.view_status'
|
|
||||||
|
|
|
@ -1,61 +1,12 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('user_mailer.appeal_approved.title'), heading_subtitle: t('user_mailer.appeal_approved.subtitle'), heading_image_url: full_pack_url('media/images/mailer-new/heading/appeal-approved.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'user_mailer.appeal_approved.explanation',
|
||||||
.email-row
|
appeal_date: l(@appeal.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone),
|
||||||
.col-6
|
strike_date: l(@appeal.strike.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= render 'application/mailer/button', text: t('user_mailer.appeal_approved.action'), url: root_url
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_done.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'user_mailer.appeal_approved.title'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center
|
|
||||||
%p= t 'user_mailer.appeal_approved.explanation',
|
|
||||||
appeal_date: l(@appeal.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone),
|
|
||||||
strike_date: l(@appeal.strike.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
|
||||||
|
|
||||||
%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
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to root_url do
|
|
||||||
%span= t 'user_mailer.appeal_approved.action'
|
|
||||||
|
|
|
@ -1,61 +1,12 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('user_mailer.appeal_rejected.title'), heading_subtitle: t('user_mailer.appeal_rejected.subtitle'), heading_image_url: full_pack_url('media/images/mailer-new/heading/appeal-rejected.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'user_mailer.appeal_rejected.explanation',
|
||||||
.email-row
|
appeal_date: l(@appeal.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone),
|
||||||
.col-6
|
strike_date: l(@appeal.strike.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= render 'application/mailer/button', text: t('user_mailer.appeal_approved.action'), url: root_url
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_flag.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'user_mailer.appeal_rejected.title'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center
|
|
||||||
%p= t 'user_mailer.appeal_rejected.explanation',
|
|
||||||
appeal_date: l(@appeal.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone),
|
|
||||||
strike_date: l(@appeal.strike.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
|
||||||
|
|
||||||
%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
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to root_url do
|
|
||||||
%span= t 'user_mailer.appeal_approved.action'
|
|
||||||
|
|
|
@ -1,59 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('user_mailer.backup_ready.title'), heading_subtitle: t('user_mailer.backup_ready.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/archive.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'user_mailer.backup_ready.extra'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('exports.archive_takeout.download'), url: download_backup_url(@backup)
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_file_download.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'user_mailer.backup_ready.title'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center
|
|
||||||
%p= t 'user_mailer.backup_ready.explanation'
|
|
||||||
|
|
||||||
%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
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to download_backup_url(@backup) do
|
|
||||||
%span= t 'exports.archive_takeout.download'
|
|
||||||
|
|
|
@ -1,80 +1,16 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.confirmation_instructions.title'), heading_image_url: full_pack_url('media/images/mailer-new/heading/email.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t @resource.approved? ? 'devise.mailer.confirmation_instructions.explanation' : 'devise.mailer.confirmation_instructions.explanation_when_pending', host: site_hostname
|
||||||
.email-row
|
- if @resource.created_by_application
|
||||||
.col-6
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= link_to confirmation_url(@resource, confirmation_token: @token, redirect_to_app: 'true') do
|
||||||
%tbody
|
%span= t 'devise.mailer.confirmation_instructions.action_with_app', app: @resource.created_by_application.name
|
||||||
%tr
|
- else
|
||||||
%td.column-cell.text-center.padded
|
= render 'application/mailer/button', text: t('devise.mailer.confirmation_instructions.action'), url: confirmation_url(@resource, confirmation_token: @token)
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
%p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: privacy_policy_url
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_email.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.confirmation_instructions.title'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center
|
|
||||||
%p= t @resource.approved? ? 'devise.mailer.confirmation_instructions.explanation' : 'devise.mailer.confirmation_instructions.explanation_when_pending', host: site_hostname
|
|
||||||
|
|
||||||
%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
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
- if @resource.created_by_application
|
|
||||||
= link_to confirmation_url(@resource, confirmation_token: @token, redirect_to_app: 'true') do
|
|
||||||
%span= t 'devise.mailer.confirmation_instructions.action_with_app', app: @resource.created_by_application.name
|
|
||||||
- else
|
|
||||||
= link_to confirmation_url(@resource, confirmation_token: @token) do
|
|
||||||
%span= t 'devise.mailer.confirmation_instructions.action'
|
|
||||||
|
|
||||||
%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
|
|
||||||
%p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: privacy_policy_url
|
|
||||||
|
|
|
@ -1,58 +1,11 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.email_changed.title'), heading_subtitle: t('devise.mailer.email_changed.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/email.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
= render 'application/mailer/frame', text: @resource.unconfirmed_email
|
||||||
.email-row
|
%p= t 'devise.mailer.email_changed.extra'
|
||||||
.col-6
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_email.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.email_changed.title'
|
|
||||||
%p.lead= t 'devise.mailer.email_changed.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.input-cell
|
|
||||||
%table.input{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td= @resource.unconfirmed_email
|
|
||||||
|
|
||||||
%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.padded
|
|
||||||
%p= t 'devise.mailer.email_changed.extra'
|
|
||||||
|
|
|
@ -1,40 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.password_change.title'), heading_subtitle: t('devise.mailer.password_change.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/password.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.password_change.extra'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.password_change.title'
|
|
||||||
%p.lead= t 'devise.mailer.password_change.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
.email-row
|
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%p= t 'devise.mailer.password_change.extra'
|
|
||||||
|
|
|
@ -1,60 +1,11 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.reconfirmation_instructions.title'), heading_image_url: full_pack_url('media/images/mailer-new/heading/email.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t('devise.mailer.reconfirmation_instructions.explanation')
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('devise.mailer.confirmation_instructions.action'), url: confirmation_url(@resource, confirmation_token: @token)
|
||||||
.col-6
|
%p= t 'devise.mailer.reconfirmation_instructions.extra'
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_email.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.reconfirmation_instructions.title'
|
|
||||||
%p.lead= t 'devise.mailer.reconfirmation_instructions.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to confirmation_url(@resource, confirmation_token: @token) do
|
|
||||||
%span= t 'devise.mailer.confirmation_instructions.action'
|
|
||||||
|
|
||||||
%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.padded
|
|
||||||
%p= t 'devise.mailer.reconfirmation_instructions.extra'
|
|
||||||
|
|
|
@ -1,60 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.reset_password_instructions.title'), heading_subtitle: t('devise.mailer.reset_password_instructions.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/password.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.reset_password_instructions.extra'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('devise.mailer.reset_password_instructions.action'), url: edit_password_url(@resource, reset_password_token: @token)
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.reset_password_instructions.title'
|
|
||||||
%p.lead= t 'devise.mailer.reset_password_instructions.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_password_url(@resource, reset_password_token: @token) do
|
|
||||||
%span= t 'devise.mailer.reset_password_instructions.action'
|
|
||||||
|
|
||||||
%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.padded
|
|
||||||
%p= t 'devise.mailer.reset_password_instructions.extra'
|
|
||||||
|
|
|
@ -1,71 +1,24 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('user_mailer.suspicious_sign_in.title'), heading_subtitle: t('user_mailer.suspicious_sign_in.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/login.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'user_mailer.suspicious_sign_in.details'
|
||||||
.email-row
|
%p
|
||||||
.col-6
|
%strong #{t('sessions.ip')}:
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= @remote_ip
|
||||||
%tbody
|
%br/
|
||||||
%tr
|
%strong #{t('sessions.browser')}:
|
||||||
%td.column-cell.text-center.padded
|
%span{ title: @user_agent }
|
||||||
%table.hero-icon.warning-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
= t 'sessions.description',
|
||||||
%tbody
|
browser: t("sessions.browsers.#{@detection.id}", default: @detection.id.to_s),
|
||||||
%tr
|
platform: t("sessions.platforms.#{@detection.platform.id}", default: @detection.platform.id.to_s)
|
||||||
%td
|
%br/
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
%strong #{t('sessions.date')}:
|
||||||
|
= l(@timestamp.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
||||||
%h1= t 'user_mailer.suspicious_sign_in.title'
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
%p= t 'user_mailer.suspicious_sign_in.explanation'
|
%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)
|
||||||
%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
|
|
||||||
%p= t 'user_mailer.suspicious_sign_in.details'
|
|
||||||
%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.to_s),
|
|
||||||
platform: t("sessions.platforms.#{@detection.platform.id}", default: @detection.platform.id.to_s)
|
|
||||||
%br/
|
|
||||||
= l(@timestamp.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
|
||||||
|
|
||||||
%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
|
|
||||||
%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)
|
|
||||||
|
|
|
@ -1,43 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.two_factor_disabled.title'), heading_subtitle: t('devise.mailer.two_factor_disabled.subtitle'), heading_image_url: full_pack_url('media/images/mailer-new/heading/2fa-disabled.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.two_factor_disabled.explanation'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon.alert-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.two_factor_disabled.title'
|
|
||||||
%p.lead= t 'devise.mailer.two_factor_disabled.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,43 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.two_factor_enabled.title'), heading_subtitle: t('devise.mailer.two_factor_enabled.subtitle'), heading_image_url: full_pack_url('media/images/mailer-new/heading/2fa-enabled.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.two_factor_enabled.explanation'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.two_factor_enabled.title'
|
|
||||||
%p.lead= t 'devise.mailer.two_factor_enabled.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,43 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.two_factor_recovery_codes_changed.title'), heading_subtitle: t('devise.mailer.two_factor_recovery_codes_changed.subtitle'), heading_image_url: full_pack_url('media/images/mailer-new/heading/2fa-recovery.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.two_factor_recovery_codes_changed.explanation'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon.alert-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.two_factor_recovery_codes_changed.title'
|
|
||||||
%p.lead= t 'devise.mailer.two_factor_recovery_codes_changed.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,98 +1,46 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t("user_mailer.warning.title.#{@warning.action}"), heading_image_url: full_pack_url('media/images/mailer-new/heading/warning.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td-without-padding
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-prose.email-padding-24
|
||||||
.email-row
|
- unless @warning.none_action?
|
||||||
.col-6
|
%p= t "user_mailer.warning.explanation.#{@warning.action}", instance: @instance
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon.alert-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_flag.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t "user_mailer.warning.title.#{@warning.action}"
|
- if @warning.text.present?
|
||||||
|
= linkify(@warning.text)
|
||||||
|
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
- if @warning.report && !@warning.report.other?
|
||||||
%tbody
|
%p
|
||||||
%tr
|
%strong= t('user_mailer.warning.reason')
|
||||||
%td.email-body
|
= t("user_mailer.warning.categories.#{@warning.report.category}")
|
||||||
.email-container
|
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
- if @warning.report.violation? && @warning.report.rule_ids.present?
|
||||||
%tbody
|
%ul.rules-list
|
||||||
|
- @warning.report.rules.each do |rule|
|
||||||
|
%li= rule.text
|
||||||
|
|
||||||
|
- unless @statuses.empty?
|
||||||
|
%p
|
||||||
|
%strong= t('user_mailer.warning.statuses')
|
||||||
|
|
||||||
|
- unless @statuses.empty?
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-border-top
|
||||||
|
- @statuses.each_with_index do |status, i|
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-border-bottom.email-padding-24
|
||||||
|
= render 'notification_mailer/status', status: status, i: i + 1, highlighted: true, time_zone: @resource.time_zone.presence
|
||||||
|
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.content-start
|
%td.email-prose.email-padding-24
|
||||||
.email-row
|
%p= t 'user_mailer.warning.appeal_description', instance: @instance
|
||||||
.col-6
|
= render 'application/mailer/button', text: t('user_mailer.warning.appeal'), url: disputes_strike_url(@warning)
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center
|
|
||||||
- unless @warning.none_action?
|
|
||||||
%p= t "user_mailer.warning.explanation.#{@warning.action}", instance: @instance
|
|
||||||
|
|
||||||
- if @warning.text.present?
|
|
||||||
= linkify(@warning.text)
|
|
||||||
|
|
||||||
- if @warning.report && !@warning.report.other?
|
|
||||||
%p
|
|
||||||
%strong= t('user_mailer.warning.reason')
|
|
||||||
= t("user_mailer.warning.categories.#{@warning.report.category}")
|
|
||||||
|
|
||||||
- if @warning.report.violation? && @warning.report.rule_ids.present?
|
|
||||||
%ul.rules-list
|
|
||||||
- @warning.report.rules.each do |rule|
|
|
||||||
%li= rule.text
|
|
||||||
|
|
||||||
- unless @statuses.empty?
|
|
||||||
%p
|
|
||||||
%strong= t('user_mailer.warning.statuses')
|
|
||||||
|
|
||||||
- unless @statuses.empty?
|
|
||||||
- @statuses.each_with_index do |status, i|
|
|
||||||
= render 'notification_mailer/status', status: status, i: i + 1, highlighted: true, time_zone: @resource.time_zone.presence
|
|
||||||
|
|
||||||
%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{ class: @statuses.blank? ? '' : 'content-start' }
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to disputes_strike_url(@warning) do
|
|
||||||
%span= t 'user_mailer.warning.appeal'
|
|
||||||
|
|
||||||
%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
|
|
||||||
%p= t 'user_mailer.warning.appeal_description', instance: @instance
|
|
||||||
|
|
|
@ -1,44 +1,13 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.webauthn_credential.added.title'), heading_subtitle: t('devise.mailer.webauthn_credential.added.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/key-added.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td.email-prose
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-frame-wrapper-td
|
||||||
.email-row
|
= render 'application/mailer/frame', text: @webauthn_credential.nickname
|
||||||
.col-6
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.webauthn_credential.added.title'
|
|
||||||
%p.lead #{t('devise.mailer.webauthn_credential.added.explanation')}:
|
|
||||||
%p.lead= @webauthn_credential.nickname
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,44 +1,13 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.webauthn_credential.deleted.title'), heading_subtitle: t('devise.mailer.webauthn_credential.deleted.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/key-deleted.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td.email-prose
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-frame-wrapper-td
|
||||||
.email-row
|
= render 'application/mailer/frame', text: @webauthn_credential.nickname
|
||||||
.col-6
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon.alert-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.webauthn_credential.deleted.title'
|
|
||||||
%p.lead #{t('devise.mailer.webauthn_credential.deleted.explanation')}:
|
|
||||||
%p.lead= @webauthn_credential.nickname
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,43 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.webauthn_disabled.title'), heading_subtitle: t('devise.mailer.webauthn_disabled.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/key-disabled.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.webauthn_disabled.extra'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon.alert-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.webauthn_disabled.title'
|
|
||||||
%p.lead= t 'devise.mailer.webauthn_disabled.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,43 +1,10 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.webauthn_enabled.title'), heading_subtitle: t('devise.mailer.webauthn_enabled.explanation'), heading_image_url: full_pack_url('media/images/mailer-new/heading/key-enabled.png')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
%tr
|
%td.email-inner-card-td.email-prose
|
||||||
%td.content-cell.hero
|
%p= t 'devise.mailer.webauthn_enabled.extra'
|
||||||
.email-row
|
= render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url
|
||||||
.col-6
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'devise.mailer.webauthn_enabled.title'
|
|
||||||
%p.lead= t 'devise.mailer.webauthn_enabled.explanation'
|
|
||||||
|
|
||||||
%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.content-start
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.button-cell
|
|
||||||
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to edit_user_registration_url do
|
|
||||||
%span= t('settings.account_settings')
|
|
||||||
|
|
|
@ -1,99 +1,25 @@
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
= content_for :heading do
|
||||||
%tbody
|
= render 'application/mailer/heading', heading_title: t('user_mailer.welcome.title', name: @resource.account.username), heading_subtitle: t('user_mailer.welcome.explanation')
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.email-body
|
%tr
|
||||||
.email-container
|
%td.email-body-padding-td
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
%tr
|
||||||
|
%td.email-inner-card-td-without-padding
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.hero
|
%td.email-prose.email-padding-24
|
||||||
.email-row
|
%p
|
||||||
.col-6
|
%b= t 'user_mailer.welcome.full_handle'
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
= render 'application/mailer/frame', text: "#{@resource.account.username}@#{@instance}"
|
||||||
%tbody
|
%p= t 'user_mailer.welcome.full_handle_hint', instance: @instance
|
||||||
%tr
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%td.column-cell.text-center.padded
|
|
||||||
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
= image_tag full_pack_url('media/images/mailer/icon_done.png'), alt: ''
|
|
||||||
|
|
||||||
%h1= t 'user_mailer.welcome.title', name: @resource.account.username
|
|
||||||
%p.lead= t 'user_mailer.welcome.explanation'
|
|
||||||
|
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.email-body
|
|
||||||
.email-container
|
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.content-start
|
%td.email-border-top.email-prose.email-padding-24
|
||||||
.email-row
|
%p= t 'user_mailer.welcome.edit_profile_step'
|
||||||
.col-3
|
= render 'application/mailer/button', text: t('user_mailer.welcome.edit_profile_action'), url: settings_profile_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.input-cell.text-center.padded-bottom
|
|
||||||
%h5= t 'user_mailer.welcome.full_handle'
|
|
||||||
%table.input{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td @#{@resource.account.username}@#{@instance}
|
|
||||||
.col-3
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell
|
|
||||||
%p= t 'user_mailer.welcome.full_handle_hint', instance: @instance
|
|
||||||
|
|
||||||
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.email-body
|
|
||||||
.email-container
|
|
||||||
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
%tr
|
||||||
%td.content-cell.content-start.border-top
|
%td.email-border-top.email-prose.email-padding-24
|
||||||
.email-row
|
%p= t 'user_mailer.welcome.edit_profile_step'
|
||||||
.col-4
|
= render 'application/mailer/button', text: t('user_mailer.welcome.final_action'), url: web_url
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.padded
|
|
||||||
= t 'user_mailer.welcome.edit_profile_step'
|
|
||||||
.col-2
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.padded
|
|
||||||
%table.button.button-small{ align: 'left', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to settings_profile_url do
|
|
||||||
%span= t 'user_mailer.welcome.edit_profile_action'
|
|
||||||
|
|
||||||
%tr
|
|
||||||
%td.content-cell.padded-bottom
|
|
||||||
.email-row
|
|
||||||
.col-4
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.padded
|
|
||||||
= t 'user_mailer.welcome.final_step'
|
|
||||||
.col-2
|
|
||||||
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.column-cell.padded
|
|
||||||
%table.button.button-small{ align: 'left', cellspacing: 0, cellpadding: 0 }
|
|
||||||
%tbody
|
|
||||||
%tr
|
|
||||||
%td.button-primary
|
|
||||||
= link_to web_url do
|
|
||||||
%span= t 'user_mailer.welcome.final_action'
|
|
||||||
|
|
|
@ -5,4 +5,5 @@ require_relative '../../lib/premailer_webpack_strategy'
|
||||||
Premailer::Rails.config.merge!(remove_ids: true,
|
Premailer::Rails.config.merge!(remove_ids: true,
|
||||||
adapter: :nokogiri,
|
adapter: :nokogiri,
|
||||||
generate_text_part: false,
|
generate_text_part: false,
|
||||||
|
css_to_attributes: false,
|
||||||
strategies: [PremailerWebpackStrategy])
|
strategies: [PremailerWebpackStrategy])
|
||||||
|
|
|
@ -47,16 +47,19 @@ en:
|
||||||
subject: 'Mastodon: Reset password instructions'
|
subject: 'Mastodon: Reset password instructions'
|
||||||
title: Password reset
|
title: Password reset
|
||||||
two_factor_disabled:
|
two_factor_disabled:
|
||||||
explanation: Two-factor authentication for your account has been disabled. Login is now possible using only e-mail address and password.
|
explanation: Login is now possible using only e-mail address and password.
|
||||||
subject: 'Mastodon: Two-factor authentication disabled'
|
subject: 'Mastodon: Two-factor authentication disabled'
|
||||||
|
subtitle: Two-factor authentication for your account has been disabled.
|
||||||
title: 2FA disabled
|
title: 2FA disabled
|
||||||
two_factor_enabled:
|
two_factor_enabled:
|
||||||
explanation: Two-factor authentication has been enabled for your account. A token generated by the paired TOTP app will be required for login.
|
explanation: A token generated by the paired TOTP app will be required for login.
|
||||||
subject: 'Mastodon: Two-factor authentication enabled'
|
subject: 'Mastodon: Two-factor authentication enabled'
|
||||||
|
subtitle: Two-factor authentication has been enabled for your account.
|
||||||
title: 2FA enabled
|
title: 2FA enabled
|
||||||
two_factor_recovery_codes_changed:
|
two_factor_recovery_codes_changed:
|
||||||
explanation: The previous recovery codes have been invalidated and new ones generated.
|
explanation: The previous recovery codes have been invalidated and new ones generated.
|
||||||
subject: 'Mastodon: Two-factor recovery codes re-generated'
|
subject: 'Mastodon: Two-factor recovery codes re-generated'
|
||||||
|
subtitle: The previous recovery codes have been invalidated and new ones generated.
|
||||||
title: 2FA recovery codes changed
|
title: 2FA recovery codes changed
|
||||||
unlock_instructions:
|
unlock_instructions:
|
||||||
subject: 'Mastodon: Unlock instructions'
|
subject: 'Mastodon: Unlock instructions'
|
||||||
|
@ -70,11 +73,13 @@ en:
|
||||||
subject: 'Mastodon: Security key deleted'
|
subject: 'Mastodon: Security key deleted'
|
||||||
title: One of your security keys has been deleted
|
title: One of your security keys has been deleted
|
||||||
webauthn_disabled:
|
webauthn_disabled:
|
||||||
explanation: Authentication with security keys has been disabled for your account. Login is now possible using only the token generated by the paired TOTP app.
|
explanation: Authentication with security keys has been disabled for your account.
|
||||||
|
extra: Login is now possible using only the token generated by the paired TOTP app.
|
||||||
subject: 'Mastodon: Authentication with security keys disabled'
|
subject: 'Mastodon: Authentication with security keys disabled'
|
||||||
title: Security keys disabled
|
title: Security keys disabled
|
||||||
webauthn_enabled:
|
webauthn_enabled:
|
||||||
explanation: Security key authentication has been enabled for your account. Your security key can now be used for login.
|
explanation: Security key authentication has been enabled for your account.
|
||||||
|
extra: Your security key can now be used for login.
|
||||||
subject: 'Mastodon: Security key authentication enabled'
|
subject: 'Mastodon: Security key authentication enabled'
|
||||||
title: Security keys enabled
|
title: Security keys enabled
|
||||||
omniauth_callbacks:
|
omniauth_callbacks:
|
||||||
|
|
|
@ -1609,6 +1609,7 @@ en:
|
||||||
unknown_browser: Unknown Browser
|
unknown_browser: Unknown Browser
|
||||||
weibo: Weibo
|
weibo: Weibo
|
||||||
current_session: Current session
|
current_session: Current session
|
||||||
|
date: Date
|
||||||
description: "%{browser} on %{platform}"
|
description: "%{browser} on %{platform}"
|
||||||
explanation: These are the web browsers currently logged in to your Mastodon account.
|
explanation: These are the web browsers currently logged in to your Mastodon account.
|
||||||
ip: IP
|
ip: IP
|
||||||
|
@ -1775,16 +1776,19 @@ en:
|
||||||
webauthn: Security keys
|
webauthn: Security keys
|
||||||
user_mailer:
|
user_mailer:
|
||||||
appeal_approved:
|
appeal_approved:
|
||||||
action: Go to your account
|
action: Account Settings
|
||||||
explanation: The appeal of the strike against your account on %{strike_date} that you submitted on %{appeal_date} has been approved. Your account is once again in good standing.
|
explanation: The appeal of the strike against your account on %{strike_date} that you submitted on %{appeal_date} has been approved. Your account is once again in good standing.
|
||||||
subject: Your appeal from %{date} has been approved
|
subject: Your appeal from %{date} has been approved
|
||||||
|
subtitle: Your account is once again in good standing.
|
||||||
title: Appeal approved
|
title: Appeal approved
|
||||||
appeal_rejected:
|
appeal_rejected:
|
||||||
explanation: The appeal of the strike against your account on %{strike_date} that you submitted on %{appeal_date} has been rejected.
|
explanation: The appeal of the strike against your account on %{strike_date} that you submitted on %{appeal_date} has been rejected.
|
||||||
subject: Your appeal from %{date} has been rejected
|
subject: Your appeal from %{date} has been rejected
|
||||||
|
subtitle: Your appeal has been rejected.
|
||||||
title: Appeal rejected
|
title: Appeal rejected
|
||||||
backup_ready:
|
backup_ready:
|
||||||
explanation: You requested a full backup of your Mastodon account. It's now ready for download!
|
explanation: You requested a full backup of your Mastodon account.
|
||||||
|
extra: It's now ready for download!
|
||||||
subject: Your archive is ready for download
|
subject: Your archive is ready for download
|
||||||
title: Archive takeout
|
title: Archive takeout
|
||||||
suspicious_sign_in:
|
suspicious_sign_in:
|
||||||
|
|