Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug 970214] Send a weekly "Ready for review" digest
- Loading branch information
1 parent
1d1c8ac
commit c641962
Showing
4 changed files
with
138 additions
and
1 deletion.
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
51 changes: 51 additions & 0 deletions
51
kitsune/wiki/templates/wiki/email/ready_for_review_weekly_digest.html
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,51 @@ | ||
{% extends 'email/base.html' %} | ||
|
||
{% block styles %} | ||
ul { | ||
padding: 0; | ||
} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<p> | ||
{{ _('Hi {username},')|f(username=display_name(recipient)) }} | ||
</p> | ||
|
||
<p> | ||
{% trans %} | ||
Our contributors have been working hard on articles and it would be great | ||
if you could review them. The faster we get them published the faster | ||
they start helping users. | ||
{% endtrans %} | ||
</p> | ||
|
||
<p> | ||
{% trans %} | ||
If you have a moment please help us by reviewing these articles: | ||
{% endtrans %} | ||
</p> | ||
|
||
<ul> | ||
{% for d in docs %} | ||
<li> | ||
<a href="{{ url('wiki.document_revisions', d.slug) }}"> | ||
{{ d.title }} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
<p> | ||
{% trans %} | ||
Many thanks for your contribution in behalf of SUMO and the happy users | ||
who get help! | ||
{% endtrans %} | ||
</p> | ||
|
||
<p> | ||
{% trans %} | ||
Regards, | ||
<br />The SUMO team. | ||
{% endtrans %} | ||
</p> | ||
{% endblock %} |
28 changes: 28 additions & 0 deletions
28
kitsune/wiki/templates/wiki/email/ready_for_review_weekly_digest.ltxt
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,28 @@ | ||
{# This is an email. Whitespace matters! #} | ||
{% autoescape false %} | ||
{{ _('Hi {username}')|f(username=display_name(recipient)) }} | ||
|
||
{% trans %} | ||
Our contributors have been working hard on articles and it would be great if | ||
you could review them. The faster we get them published the faster they start | ||
helping users. | ||
{% endtrans %} | ||
|
||
{{ _('If you have a moment please review these articles:') }} | ||
|
||
{% for d in docs %} | ||
{{ d.title }} | ||
({{ url('wiki.document_revisions', d.slug) }}) | ||
|
||
{% endfor %} | ||
|
||
{% trans %} | ||
Many thanks for your contribution on behalf of SUMO and the happy users who are | ||
helped by your work! | ||
{% endtrans %} | ||
|
||
{% trans %} | ||
Regards, | ||
The SUMO team | ||
{% endtrans %} | ||
{% endautoescape %} |
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