-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[PM-28100] families 2019 email #6645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kdenney
wants to merge
7
commits into
main
Choose a base branch
from
billing/PM-28100/2019-families-email
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+754
−10
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
244b871
Send F2020 renewal email
amorask-bitwarden 7f97444
Merge branch 'main' into billing/PM-26461/families-2020-renewal-email
amorask-bitwarden f999907
Implement and use simple hero
amorask-bitwarden a386350
Cy's feedback
amorask-bitwarden 75ef19d
[PM-28100] families 2019 email
kdenney 3956e81
Merge branch 'main' into billing/PM-28100/2019-families-email
kdenney b6bded9
pr feedback
kdenney File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/Core/MailTemplates/Mjml/emails/Billing/Renewals/families-2019-renewal.mjml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| <mjml> | ||
| <mj-head> | ||
| <mj-include path="../../../components/head.mjml"/> | ||
| </mj-head> | ||
|
|
||
| <!-- Blue Header Section--> | ||
| <mj-body css-class="border-fix"> | ||
| <mj-wrapper css-class="border-fix" padding="20px 20px 0px 20px"> | ||
| <mj-bw-simple-hero /> | ||
| </mj-wrapper> | ||
|
|
||
| <!-- Main Content Section --> | ||
| <mj-wrapper padding="0px 20px 0px 20px"> | ||
| <mj-section background-color="#fff" padding="15px 10px 10px 10px"> | ||
| <mj-column> | ||
| <mj-text font-size="16px" line-height="24px" padding="10px 15px 15px 15px"> | ||
| Your Bitwarden Families subscription renews in 15 days. The price is updating to {{BaseMonthlyRenewalPrice}}/month, billed annually | ||
| at {{BaseAnnualRenewalPrice}} + tax. | ||
| </mj-text> | ||
| <mj-text font-size="16px" line-height="24px" padding="10px 15px 15px 15px"> | ||
| As a long time Bitwarden customer, you will receive a one-time {{DiscountAmount}} loyalty discount for this renewal. | ||
| This renewal will now be billed annually at {{DiscountedAnnualRenewalPrice}} + tax. | ||
| </mj-text> | ||
| <mj-text font-size="16px" line-height="24px" padding="10px 15px"> | ||
| Questions? Contact | ||
| <a href="mailto:[email protected]" class="link">[email protected]</a> | ||
| </mj-text> | ||
| </mj-column> | ||
| </mj-section> | ||
| <mj-section background-color="#fff" padding="0 20px 20px 20px"> | ||
| </mj-section> | ||
| </mj-wrapper> | ||
|
|
||
| <!-- Learn More Section --> | ||
| <mj-wrapper padding="0px 20px 10px 20px"> | ||
| <mj-bw-learn-more-footer/> | ||
| </mj-wrapper> | ||
|
|
||
| <!-- Footer --> | ||
| <mj-include path="../../../components/footer.mjml"/> | ||
| </mj-body> | ||
| </mjml> |
16 changes: 16 additions & 0 deletions
16
src/Core/Models/Mail/Billing/Renewal/Families2019Renewal/Families2019RenewalMailView.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| using Bit.Core.Platform.Mail.Mailer; | ||
|
|
||
| namespace Bit.Core.Models.Mail.Billing.Renewal.Families2019Renewal; | ||
|
|
||
| public class Families2019RenewalMailView : BaseMailView | ||
| { | ||
| public required string BaseMonthlyRenewalPrice { get; set; } | ||
| public required string BaseAnnualRenewalPrice { get; set; } | ||
| public required string DiscountedAnnualRenewalPrice { get; set; } | ||
| public required string DiscountAmount { get; set; } | ||
| } | ||
|
|
||
| public class Families2019RenewalMail : BaseMail<Families2019RenewalMailView> | ||
| { | ||
| public override string Subject { get => "Your Bitwarden Families renewal is updating"; } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.