1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-27 03:41:30 +01:00

raw html on certain email params

This commit is contained in:
Kyle Spearrin 2017-08-09 22:55:52 -04:00
parent a1d064ed9e
commit beaa059888
15 changed files with 24 additions and 24 deletions

View File

@ -3,4 +3,4 @@
Layout = "_BasicMailLayout.text";
}
To finalize changing your email address enter the
following code in the pop-up window: @Model.Token
following code in the pop-up window: @Raw(Model.Token)

View File

@ -2,10 +2,10 @@
@{
Layout = "_BasicMailLayout.text";
}
A user ({{fromEmail}}) recently tried to
A user (@Raw(Model.FromEmail)) recently tried to
change their account to use this email
address ({{toEmail}}). An account already
exists with this email ({{toEmail}}).
address (@Raw(Model.ToEmail)). An account already
exists with this email (@Raw(Model.ToEmail)).
If you did not try to change an email
address, you can safely ignore this

View File

@ -4,5 +4,5 @@
}
<p>You (or someone) recently requested your master password hint.</p>
<p>Your hint is: "@Model.Hint"</p>
<p>Login: <a href="@Model.WebVaultUrl" target="_blank">@Model.WebVaultUrl</a></p>
<p>Login: <a href="@Raw(Model.WebVaultUrl)" target="_blank">@Model.WebVaultUrl</a></p>
<p>If you did not request your master password hint you can safely ignore this email.</p>

View File

@ -5,9 +5,9 @@
You (or someone) recently requested your master
password hint.
Your hint is: "@Model.Hint"
Your hint is: "@Raw(Model.Hint)"
Login: @Model.WebVaultUrl
Login: @Raw(@Model.WebVaultUrl)
If you did not request your master password hint
you can safely ignore this email.

View File

@ -2,9 +2,9 @@
@{
Layout = "_BasicMailLayout.text";
}
This email is to notify you that @Model.UserEmail
This email is to notify you that @Raw(Model.UserEmail)
has accepted your invitation to join
@Model.OrganizationName.
@Raw(Model.OrganizationName).
To confirm this user, log into the bitwarden
web vault, manage your organization "People"

View File

@ -3,7 +3,7 @@
Layout = "_BasicMailLayout.text";
}
This email is to notify you that you have been
confirmed as a user of @(Model.OrganizationName).
confirmed as a user of @Raw(Model.OrganizationName).
Any collections and logins being shared with
you by this organization will now appear in

View File

@ -6,7 +6,7 @@
You have been invited to join the @Model.OrganizationName organization.
To accept this invite, click the following link:
</p>
<p><a href="@Model.Url" target="_blank" clicktracking=off>@Model.Url</a></p>
<p><a href="@Raw(Model.Url)" target="_blank" clicktracking=off>@Model.Url</a></p>
<p>
If you do not wish to join this organization, you can safely ignore
this email.

View File

@ -3,11 +3,11 @@
Layout = "_BasicMailLayout.text";
}
You have been invited to join the
@Model.OrganizationName organization.
@Raw(Model.OrganizationName) organization.
To accept this invite, click the
following link:
@Model.Url
@Raw(Model.Url)
If you do not wish to join this
organization, you can safely ignore

View File

@ -2,6 +2,6 @@
@{
Layout = "_BasicMailLayout.text";
}
Your two-step verification code is: @Model.Token
Your two-step verification code is: @Raw(Model.Token)
Use this code to complete logging in with bitwarden.

View File

@ -6,4 +6,4 @@
Click the link below to delete your bitwarden account (@Model.Email).
If you did not request this email to delete your bitwarden account, you can safely ignore it.
</p>
<p><a href="@Model.Url" target="_blank" clicktracking=off>@Model.Url</a></p>
<p><a href="@Raw(Model.Url)" target="_blank" clicktracking=off>@Model.Url</a></p>

View File

@ -3,8 +3,8 @@
Layout = "_BasicMailLayout.text";
}
Click the link below to delete your bitwarden
account (@Model.Email). If you did not request
account (@Raw(Model.Email)). If you did not request
this email to delete your bitwarden account,
you can safely ignore it.
@Model.Url
@Raw(Model.Url)

View File

@ -5,4 +5,4 @@
<p>
Verify this email address for your bitwarden account by clicking the following link:
</p>
<p><a href="@Model.Url" target="_blank" clicktracking=off>@Model.Url</a></p>
<p><a href="@Raw(Model.Url)" target="_blank" clicktracking=off>@Model.Url</a></p>

View File

@ -5,4 +5,4 @@
Verify this email address for your bitwarden
account by clicking the following link:
@Model.Url
@Raw(Model.Url)

View File

@ -60,7 +60,7 @@
<table width="100%" cellpadding="0" cellspacing="0" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<tr style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<td valign="middle" class="aligncenter middle" width="33%" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;" align="center">
<a href="https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb?utm_source=welcome_email&amp;utm_medium=email" title="Get bitwarden for Chrome" target="_blank" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">
<a href="https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb?utm_source=welcome_email&utm_medium=email" title="Get bitwarden for Chrome" target="_blank" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">
<img width="53" height="54" alt="Chrome Extension" src="https://bitwarden.com/images/chrome.png" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; border: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; max-width: 100%;" />
</a>
</td>
@ -70,7 +70,7 @@
</a>
</td>
<td valign="middle" class="aligncenter middle" width="33%" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;" align="center">
<a href="https://addons.opera.com/extensions/details/bitwarden-free-password-manager/?utm_source=welcome_email&amp;utm_medium=email" title="Get bitwarden for Opera" target="_blank" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">
<a href="https://addons.opera.com/extensions/details/bitwarden-free-password-manager/?utm_source=welcome_email&utm_medium=email" title="Get bitwarden for Opera" target="_blank" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">
<img width="53" height="54" alt="Opera Extension" src="https://bitwarden.com/images/opera.png" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; border: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; max-width: 100%;" />
</a>
</td>
@ -90,12 +90,12 @@
</tr>
<tr style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<td class="content-block h3 biglink aligncenter" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 25px; margin: 0; padding: 0 0 10px;" align="center" valign="top">
<a target="_blank" href="https://vault.bitwarden.com/?utm_source=welcome_email&amp;utm_medium=email" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 20px; line-height: 25px; margin: 0; text-decoration: underline;">vault.bitwarden.com</a>
<a target="_blank" href="@Raw(Model.WebVaultUrl)/?utm_source=welcome_email&utm_medium=email" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 20px; line-height: 25px; margin: 0; text-decoration: underline;">vault.bitwarden.com</a>
</td>
</tr>
<tr style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">
<td class="content-block" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; padding: 0 0 10px;" valign="top">
If you have any questions or problems you can email us from our website at <a target="_blank" href="https://bitwarden.com/contact/?utm_source=welcome_email&amp;utm_medium=email" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">https://bitwarden.com/contact</a>.
If you have any questions or problems you can email us from our website at <a target="_blank" href="https://bitwarden.com/contact/?utm_source=welcome_email&utm_medium=email" style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #3c8dbc; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0; text-decoration: underline;">https://bitwarden.com/contact</a>.
</td>
</tr>
<tr style="-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; box-sizing: border-box; color: #333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 25px; margin: 0;">

View File

@ -34,7 +34,7 @@ Web
You can also access your vault from any
web-enabled device using our web vault at:
@Model.WebVaultUrl/?utm_source=welcome_email&utm_medium=email
@Raw(Model.WebVaultUrl)/?utm_source=welcome_email&utm_medium=email
If you have any questions or problems you can