-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ajoute le suivi par courriel aux reactions des contenus. * Add test
- Loading branch information
Showing
6 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
templates/email/notification/content_reaction_answer_subscription.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,17 @@ | ||
{% extends "email/base_from_staff.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block content_from_staff %} | ||
<p> | ||
{% blocktrans %} | ||
<strong>{{ author }}</strong> a réagi au contenu « {{ title }} » que vous suivez sur {{ site_name }}. | ||
{% endblocktrans %} | ||
</p> | ||
|
||
<p> | ||
{% blocktrans %} | ||
Pour le lire, <a href="{{ url }}">cliquez ici</a>. | ||
{% endblocktrans %} | ||
</p> | ||
{% endblock %} |
12 changes: 12 additions & 0 deletions
12
templates/email/notification/content_reaction_answer_subscription.txt
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,12 @@ | ||
{% extends "email/base_from_staff.txt" %} | ||
{% load i18n %} | ||
|
||
{% block content_from_staff %} | ||
{% blocktrans %} | ||
{{ author }} a réagi au contenu « {{ title }} » que vous suivez sur {{ site_name }}. | ||
{% endblocktrans %} | ||
|
||
{% blocktrans %} | ||
Pour le lire, cliquez ou recopiez l'url suivante : {{ url }} | ||
{% endblocktrans %} | ||
{% endblock %} |
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
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
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
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