Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
821db8aa
Commit
821db8aa
authored
Nov 16, 2017
by
Sofiya Semenova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ed-1590 Templates for email forum notifications
parent
d6970826
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
25 deletions
+31
-25
lms/djangoapps/discussion/tasks.py
+0
-1
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/body.html
+16
-20
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/body.txt
+11
-1
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/subject.txt
+4
-3
No files found.
lms/djangoapps/discussion/tasks.py
View file @
821db8aa
...
...
@@ -18,7 +18,6 @@ from edx_ace.utils import date
from
edx_ace.message
import
MessageType
from
edx_ace.recipient
import
Recipient
from
opaque_keys.edx.keys
import
CourseKey
from
openedx.core.djangoapps.site_configuration.helpers
import
get_value
from
lms.djangoapps.django_comment_client.utils
import
permalink
import
lms.lib.comment_client
as
cc
...
...
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/body.html
View file @
821db8aa
...
...
@@ -2,33 +2,29 @@
{% load i18n %}
{% load static %}
{% block preview_text %}
{% blocktrans trimmed %}
{{ comment_username }} replied to your thread.
{% endblocktrans %}
{% endblock %}
{% block content %}
<table
width=
"100%"
align=
"left"
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
role=
"presentation"
>
<tr>
<td>
{% blocktrans trimmed %}
<p>
Hi {{ thread_username }},
</p>
<p>
{% blocktrans trimmed %}
{{ comment_username }} replied to your
<b>
{{ thread_title }}
</b>
post
{% endblocktrans %}
</p>
<p>
{{ comment_username }} made the following reply to {{ thread_title }} at {{ comment_created_at }}.
</p>
<div
style=
"border: 1px solid white;
padding: 15px 15px 15px 20px;
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.55);
margin: 30px 70px 40px 0px;"
>
{{ comment_body }}
</div>
<p>
{{ comment_body }}
</p>
{% endblocktrans %}
{% trans "View the discussion" as course_cta_text %}
{% trans "View discussion" as course_cta_text %}
{% include "schedules/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text course_cta_url=post_link%}
{% block google_analytics_pixel %}
<img
src=
"{{ ga_tracking_pixel_url }}"
alt=
""
role=
"presentation"
aria-hidden=
"true"
style=
"display: block;"
/>
{% endblock %}
</td>
</tr>
</table>
...
...
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/body.txt
View file @
821db8aa
{% load i18n %}
{% block content %}
{% blocktrans trimmed %}
This is the reply to your thread:
{{ comment_username }} replied to your <b>{{ thread_title }}</b> post
{% endblocktrans %}
{{ comment_body }}
<a href="{{ post_link }}"> {% trans "View discussion" %} </a>
{% endblock %}
{% block google_analytics_pixel %}
<img src="{{ ga_tracking_pixel_url }}" alt="" role="presentation" aria-hidden="true" style="display: block;"/>
{% endblock %}
lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/email/subject.txt
View file @
821db8aa
{% load i18n %}
{% blocktrans %}
Someone replied to your thread on {{ platform_name }}
{% endblocktrans %}
{% blocktrans
trimmed
%}
Response to your {{ thread_title }} post
{% endblocktrans %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment