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 style="{{ p_style }}">
\r
19 {{ question_author }} has just posted a new question on {{ app_name }}, with title
\r
20 <a style="{{ a_style }}" href="{{ app_url }}{{ question_url }}">{{ question_title }}</a> and tagged <em>{{ question_tags }}</em>:
\r
25 {{ question.html|safe }}
\r
28 <p style="{{ p_style }}">{% trans "Don't forget to come over and cast your vote." %}</p>
\r
29 {% endhtmlcontent %}
\r
31 {% textcontent notifications/base_text.html %}
\r
33 {{ question_author }} has just posted a new question on {{ app_name }}, with title
\r
34 "{{ question_title }}" and tagged {{ question_tags }}:
\r
37 {{ question.body|safe }}
\r
39 {% trans "Don't forget to come over and cast your vote." %}
\r
40 {% endtextcontent %}
\r