This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #613 from akatsoulas/966977
[fix bug 966977] Send an email when a user adds a comment on a NGReport.
- Loading branch information
Showing
4 changed files
with
124 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
15 changes: 15 additions & 0 deletions
15
remo/reports/templates/emails/user_notification_on_add_ng_report_comment.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,15 @@ | ||
Hey there {{ user.first_name|capitalize }}, | ||
|
||
This email was generated automatically to inform you that {{ commenter.get_full_name() }} | ||
added a comment on the report [1] for {{ report }} | ||
on {{ created_on|format_datetime }}. | ||
|
||
The comment was: | ||
|
||
{{ comment|indent(indentfirst=True) }} | ||
|
||
Cheers! | ||
|
||
Your lovely ReMo bot. | ||
|
||
[1] {{ report.get_absolute_url()|absolutify }} |
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