Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion emails/templates/new_user_invite.mjml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<mj-include path="./partials/layout/theme.css" type="css" css-inline="inline" />
<mj-head>
<!-- ⬇ Don't forget to specify an email subject below! ⬇ -->
<!-- @PERCONA -->
<mj-title>
<!-- @PERCONA -->
{{ Subject .Subject .TemplateData "{{ .InvitedBy }} has invited you to join Percona Monitoring and Management (PMM)" }}
</mj-title>
<mj-include path="./partials/layout/head.mjml" />
Expand Down
8 changes: 7 additions & 1 deletion emails/templates/partials/layout/header.mjml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<mj-column background-color="transparent">
<!-- @PERCONA -->
<mj-image padding="0" width="200px" src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" align="left" />
<!--
The logo is hosted by the PMM docs site; its source of truth is
documentation/docs/assets/pmm-logo-email.png in percona/pmm. Do not remove it
there, or the logo disappears from every PMM email. The asset is 432x193 and is
rendered at half that width for 2x retina displays.
-->
<mj-image padding="0" width="216px" src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" align="left" />
</mj-column>
2 changes: 1 addition & 1 deletion emails/templates/reset_password.mjml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<mj-include path="./partials/layout/theme.css" type="css" css-inline="inline" />
<mj-head>
<!-- ⬇ Don't forget to specify an email subject below! ⬇ -->
<!-- @PERCONA -->
<mj-title>
<!-- @PERCONA -->
{{ Subject .Subject .TemplateData "Reset your PMM password - {{.Name}}" }}
</mj-title>
<mj-include path="./partials/layout/head.mjml" />
Expand Down
2 changes: 1 addition & 1 deletion emails/templates/signup_started.mjml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<mj-include path="./partials/layout/theme.css" type="css" css-inline="inline" />
<mj-head>
<!-- ⬇ Don't forget to specify an email subject below! ⬇ -->
<!-- @PERCONA -->
<mj-title>
<!-- @PERCONA -->
{{ Subject .Subject .TemplateData "Welcome to Percona Monitoring and Management (PMM), please complete your sign up!" }}
</mj-title>
<mj-include path="./partials/layout/head.mjml" />
Expand Down
6 changes: 3 additions & 3 deletions public/emails/invited_to_org.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "{{ .InvitedBy }} has added you to the {{ .OrgName }} organization" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/new_user_invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "{{ .InvitedBy }} has invited you to join Percona Monitoring and Management (PMM)" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/ng_alert_notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
{{ end }}
</mj-raw>
</div>
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "{{ .Title }}" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -153,8 +153,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/passwordless_verify_existing_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "Verify your email" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/passwordless_verify_new_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "Welcome to Grafana, please complete your sign up!" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/reset_password.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "Reset your PMM password - {{.Name}}" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/signup_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "Welcome to Percona Monitoring and Management (PMM), please complete your sign up!" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions public/emails/verify_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions public/emails/welcome_on_signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</head>

<body style="word-spacing:normal;">
<div class="canvas" style="background-color: #fff;" lang="und" dir="auto">
<div aria-label="{{ Subject .Subject .TemplateData "Welcome to Percona Monitoring and Management (PMM)!" }}" aria-roledescription="email" class="canvas" style="background-color: #fff;" role="article" lang="und" dir="auto">
{{ __dangerouslyInjectHTML `<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->` }}
<div style="margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
Expand All @@ -111,8 +111,8 @@
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;">
<tbody>
<tr>
<td style="width:200px;">
<img alt src="https://www.percona.com/wp-content/uploads/product-logos/PMM-logo-horizontal-400-dark-text.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="200" height="auto">
<td style="width:216px;">
<img alt src="https://docs.percona.com/percona-monitoring-and-management/assets/pmm-logo-email.png" style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px;" width="216" height="auto">
</td>
</tr>
</tbody>
Expand Down
Loading