This repository has been archived by the owner on May 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug 852214: Add support for multipart text and html emails.
- Loading branch information
Michael Kelly
committed
Mar 28, 2013
1 parent
7349907
commit 47d849b
Showing
5 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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,12 @@ | ||
{# L10n: Greeting in an email. #} | ||
{%- trans name=user.profile.display_name %} | ||
Hi {{ name }}, | ||
{% endtrans %} | ||
|
||
|
||
{% block message %}{% endblock %} | ||
|
||
{# L10n: Part of the signature on an email. -#} | ||
{{ _('Sincerely,') }} | ||
{# L10n: Part of the signature on an email. -#} | ||
{{ _('The Firefox Flicks Team') }} |
This file contains 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 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 @@ | ||
{% extends 'email_base.ltxt' %} | ||
|
||
{% block message %} | ||
{{ _('Your flick has been accepted and successfully added to the competition!') }} | ||
|
||
{# HACK: Add the user's locale as a urlparam to force a redirect to the correct locale. -#} | ||
{% set details_link = absolutify(url('flicks.videos.detail', video.id))|urlparams(lang=user.profile.locale) -%} | ||
{% trans link=details_link %} | ||
You can find your flick on the gallery and share it using this link: {{ link }} | ||
{% endtrans %} | ||
|
||
|
||
{{ _('Voting for the People\'s Choice Award starts on July 31, so be sure to let your friends know that you need their support.') }} | ||
|
||
{{ _('Thanks again for taking the time to help us share the power of mobile with the world.') }} | ||
{% endblock %} |
This file contains 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,12 @@ | ||
{% extends 'email_base.ltxt' %} | ||
|
||
{% block message %} | ||
{# HACK: Add the user's locale as a urlparam to force a redirect to the correct locale. -#} | ||
{% trans link=absolutify(url('flicks.base.rules'))|urlparams(lang=user.profile.locale) %} | ||
Unfortunately, your flick does not meet one or more of the contest criteria and was not accepted to be part of the competition. Please refer to our contest rules for more information: {{ link }} | ||
{% endtrans %} | ||
|
||
|
||
{{ _('All decisions regarding submissions are final.') }} | ||
{% endblock %} | ||
|
This file contains 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