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