1 {% extends "email_base.html" %}
\r
4 {% load extra_tags %}
\r
7 <p>{% trans "Hello" %} {{ user.username }},</p>
\r
9 <p>{% blocktrans with settings.APP_SHORT_NAME as app_title %}
\r
10 This is the {{ digest_type }} activity digest for {{ app_title }}
\r
11 {% endblocktrans %}</p>
\r
15 {% blocktrans with new_users|length as nusers_count and new_users|length|pluralize as nusers_count_pluralize and settings.APP_SHORT_NAME as app_title %}
\r
16 {{ nusers_count }} new user{{ nusers_count_pluralize }} joined the {{ app_title }} community:
\r
20 {% for nuser in new_users %}
\r
21 <li><a href="{{ settings.APP_URL }}{{ nuser.get_profile_url }}">{{ nuser.username }}</a></li>
\r
26 {% if activity_in_subscriptions %}
\r
28 {% blocktrans with activity_in_subscriptions|length as question_count and activity_in_subscriptions|length|pluralize as question_count_pluralize %}
\r
29 {{ question_count }} of your subscriptions have updates:
\r
33 {% for record in activity_in_subscriptions %}
\r
35 {% trans "On question " %}<a href="{{ settings.APP_URL }}{{ record.question.get_absolute_url }}">{{ question_title }}" %}</a> -
\r
36 {% if record.activity.answers %}
\r
37 {% blocktrans with record.activity.answers|length as answer_count and record.activity.answers|length|pluralize as answer_count_pluralize %}
\r
38 {{ answer_count }} new answer{{ answer_count_pluralize }}
\r
39 {% endblocktrans %},
\r
41 {% if record.activity.comments %}
\r
42 {% blocktrans with record.activity.comments|length as comment_count and record.activity.comments|length|pluralize as comment_count_pluralize %}
\r
43 {{ comment_count }} new comment{{ comment_count_pluralize }}
\r
45 {% if own_comments_only %}
\r
46 {% trans "on your own post(s)" %}
\r
49 {% if record.accepted %}
\r
50 {% trans "an answer was accepted" %}
\r
57 {% if new_questions %}
\r
59 {% blocktrans with new_questions|length as question_count and new_questions|length|pluralize as question_count_pluralize%}
\r
60 {{ question_count }} new question{{ question_count_pluralize }}
\r
62 {% if watched_tags_only %}
\r
63 {% trans "matching your interesting tags" %}
\r
65 {% trans "posted :" %}
\r
68 {% for question in new_questions %}
\r
70 <a href="{{ settings.APP_URL }}{{ question.get_absolute_url }}">{{ question.title }}</a> -
\r
71 {% blocktrans with question.author.username as author_name and question.added_at|date:"D d M Y" as question_time %}
\r
72 Posted by {{ author_name }} in {{ question_time }}
\r