|
| 1 | +<%# This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | +# License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | +# file, You can obtain one at http://mozilla.org/MPL/2.0/. %> |
| 4 | +
|
| 5 | +<%- include ('/partials/icon/index.mjml') %> |
| 6 | + |
| 7 | +<mj-section> |
| 8 | + <mj-column> |
| 9 | + <mj-text css-class="text-header"> |
| 10 | + <span data-l10n-id="freeTrialEndingReminder-subject" data-l10n-args="<%= JSON.stringify({ productName }) %>">Your <%- productName %> free trial ends soon</span> |
| 11 | + </mj-text> |
| 12 | + |
| 13 | + <mj-text css-class="text-body"> |
| 14 | + <span data-l10n-id="freeTrialEndingReminder-content-greeting" data-l10n-args="<%= JSON.stringify({ productName }) %>"> |
| 15 | + Dear <%- productName %> customer, |
| 16 | + </span> |
| 17 | + </mj-text> |
| 18 | + |
| 19 | + <mj-text css-class="text-body"> |
| 20 | + <span data-l10n-id="freeTrialEndingReminder-content-trial-ending" data-l10n-args="<%= JSON.stringify({ serviceLastActiveDateOnly }) %>"> |
| 21 | + Your free trial is scheduled to end on <strong><%- serviceLastActiveDateOnly %></strong>. |
| 22 | + </span> |
| 23 | + </mj-text> |
| 24 | + |
| 25 | + <mj-text css-class="text-body"> |
| 26 | + <span data-l10n-id="freeTrialEndingReminder-content-auto-charge" data-l10n-args="<%= JSON.stringify({ invoiceTotal, serviceLastActiveDateOnly }) %>"> |
| 27 | + Unless you cancel before then, your subscription will automatically begin and we'll charge <strong><%- invoiceTotal %></strong> to the payment method on your account on <strong><%- serviceLastActiveDateOnly %></strong>. |
| 28 | + </span> |
| 29 | + </mj-text> |
| 30 | + |
| 31 | + <mj-text css-class="text-title-table"> |
| 32 | + <span data-l10n-id="freeTrialEndingReminder-content-charge-heading">Charge details</span> |
| 33 | + </mj-text> |
| 34 | + |
| 35 | + <mj-text css-class="text-body-top-margin"> |
| 36 | + <table width="100%"> |
| 37 | + <tr style="line-height: 24px;"> |
| 38 | + <td style="text-align: start;"> |
| 39 | + <span data-l10n-id="freeTrialEndingReminder-content-charge-subscription" data-l10n-args="<%= JSON.stringify({ productName, invoiceSubtotal }) %>"> |
| 40 | + <%- productName %> subscription |
| 41 | + </span> |
| 42 | + </td> |
| 43 | + <td style="text-align: end;"> |
| 44 | + <%- invoiceSubtotal %> |
| 45 | + </td> |
| 46 | + </tr> |
| 47 | + </table> |
| 48 | + </mj-text> |
| 49 | + |
| 50 | + <% if (locals.showDiscount && locals.invoiceDiscountAmount) { %> |
| 51 | + <mj-text css-class="text-body-table-no-bottom-margin"> |
| 52 | + <table width="100%"> |
| 53 | + <tr style="line-height: 24px; border-top: 1px solid #E0E0E6;"> |
| 54 | + <td style="text-align: start;"> |
| 55 | + <span data-l10n-id="freeTrialEndingReminder-content-charge-discount" data-l10n-args="<%= JSON.stringify({ invoiceDiscountAmount }) %>"> |
| 56 | + Discount |
| 57 | + </span> |
| 58 | + </td> |
| 59 | + <td style="text-align: end;"> |
| 60 | + <%- invoiceDiscountAmount %> |
| 61 | + </td> |
| 62 | + </tr> |
| 63 | + </table> |
| 64 | + </mj-text> |
| 65 | + <% } %> |
| 66 | + |
| 67 | + <% if (locals.showTaxAmount && locals.invoiceTaxAmount) { %> |
| 68 | + <mj-text css-class="text-body-table-no-bottom-margin"> |
| 69 | + <table width="100%"> |
| 70 | + <tr style="line-height: 24px; border-top: 1px solid #E0E0E6;"> |
| 71 | + <td style="text-align: start;"> |
| 72 | + <span data-l10n-id="freeTrialEndingReminder-content-charge-tax" data-l10n-args="<%= JSON.stringify({ invoiceTaxAmount }) %>"> |
| 73 | + Tax |
| 74 | + </span> |
| 75 | + </td> |
| 76 | + <td style="text-align: end;"> |
| 77 | + <%- invoiceTaxAmount %> |
| 78 | + </td> |
| 79 | + </tr> |
| 80 | + </table> |
| 81 | + </mj-text> |
| 82 | + <% } %> |
| 83 | + |
| 84 | + <mj-text css-class="text-body"> |
| 85 | + <table width="100%"> |
| 86 | + <tr style="line-height: 24px; border-top: 1px solid grey;"> |
| 87 | + <td style="text-align: start; padding: 4px 0;"> |
| 88 | + <span data-l10n-id="freeTrialEndingReminder-content-charge-total" data-l10n-args="<%= JSON.stringify({ serviceLastActiveDateOnly, invoiceTotal }) %>"> |
| 89 | + <b>Total due on <%- serviceLastActiveDateOnly %></b> |
| 90 | + </span> |
| 91 | + </td> |
| 92 | + <td style="text-align: end; padding: 4px 0;"> |
| 93 | + <b><%- invoiceTotal %></b> |
| 94 | + </td> |
| 95 | + </tr> |
| 96 | + </table> |
| 97 | + </mj-text> |
| 98 | + |
| 99 | + <mj-text css-class="text-body"> |
| 100 | + <span data-l10n-id="freeTrialEndingReminder-content-account-link" data-l10n-args="<%= JSON.stringify({ updateBillingUrl }) %>"> |
| 101 | + You can review or update your payment method and account information <a href="<%- updateBillingUrl %>" class="link-blue" data-l10n-name="freeTrialEndingReminder-update-billing">here</a>. |
| 102 | + </span> |
| 103 | + </mj-text> |
| 104 | + |
| 105 | + <mj-text css-class="text-body"> |
| 106 | + <span data-l10n-id="freeTrialEndingReminder-content-cancel-link" data-l10n-args="<%= JSON.stringify({ serviceLastActiveDateOnly, cancelSubscriptionUrl }) %>"> |
| 107 | + To avoid being charged, cancel before <strong><%- serviceLastActiveDateOnly %></strong>: <a href="<%- cancelSubscriptionUrl %>" class="link-blue" data-l10n-name="freeTrialEndingReminder-cancel-subscription">Cancel subscription</a> |
| 108 | + </span> |
| 109 | + </mj-text> |
| 110 | + |
| 111 | + <mj-text css-class="text-body"> |
| 112 | + <span data-l10n-id="freeTrialEndingReminder-content-thanks" data-l10n-args="<%= JSON.stringify({ productName, subscriptionSupportUrlWithUtm }) %>"> |
| 113 | + Thank you for trying <%- productName %>. If you have any questions about your trial or subscription, please <a href="<%- subscriptionSupportUrlWithUtm %>" class="link-blue" data-l10n-name="freeTrialEndingReminder-contact-support">contact us</a>. |
| 114 | + </span> |
| 115 | + </mj-text> |
| 116 | + |
| 117 | + <mj-text css-class="text-body-no-bottom-margin"> |
| 118 | + <span data-l10n-id="freeTrialEndingReminder-content-closing">Sincerely,</span> |
| 119 | + </mj-text> |
| 120 | + |
| 121 | + <mj-text css-class="text-body"> |
| 122 | + <span data-l10n-id="freeTrialEndingReminder-content-signature" data-l10n-args="<%= JSON.stringify({ productName }) %>">The <%- productName %> team</span> |
| 123 | + </mj-text> |
| 124 | + </mj-column> |
| 125 | +</mj-section> |
0 commit comments