1 {% load i18n extra_tags email_tags %}
\r
4 prefix = settings.EMAIL_SUBJECT_PREFIX
\r
5 app_name = settings.APP_SHORT_NAME
\r
6 question_author = question.author.username
\r
7 app_url = settings.APP_URL
\r
8 question_url = question.get_absolute_url()
\r
9 question_title = question.title
\r
10 question_tags = question.tagnames
\r
14 {% subject %}{% blocktrans %}{{ prefix }} New question on {{ app_name }}{% endblocktrans %}{% endsubject %}
\r
16 {% htmlcontent notifications/base.html %}
\r
17 <p>{% trans "Hello" %} {{ recipient.username }},</p>
\r
21 {{ question_author }} has just posted a new question on {{ app_name }}, with title
\r
22 <a href="{{ app_url }}{{ question_url }}">{{ question_title }}</a> and tagged <em>{{ question_tags }}</em>:
\r
27 {{ question.html|safe }}
\r
30 <p>{% trans "Don't forget to come over and cast your vote." %}</p>
\r
32 <p>{% blocktrans %}Sincerely,<br />
\r
33 Forum Administrator{% endblocktrans %}</p>
\r
34 {% endhtmlcontent %}
\r
37 {% trans "Hello" %} {{ recipient.username }}
\r
40 {{ question_author }} has just posted a new question on {{ app_name }}, with title
\r
41 "{{ question_title }}" and tagged {{ question_tags }}:
\r
45 {{ question.body|safe }}
\r
48 {% trans "Don't forget to come over and cast your vote." %}
\r
50 {% blocktrans %}Sincerely,
\r
51 Forum Administrator{% endblocktrans %}
\r
52 {% endtextcontent %}
\r