Commit b418351a by Asad Azam Committed by AsadAzam

updated course created email content

parent 0e69a54b
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
{{ course_team_name }} created the {{ link_start }}{{ page_url }}{{ link_middle }}{{ run_number }} course run{{ link_end }} of {{ course_title }} in Publisher on {{ date }} at {{ time }}. {{ course_team_name }} created the {{ link_start }}{{ page_url }}{{ link_middle }}{{ run_number }} course run{{ link_end }} of {{ course_title }} in Publisher on {{ date }} at {{ time }}.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p>{% trans "Please create a Studio URL for this course." %}</p>
{# Translators: It's closing of mail. #} {# Translators: It's closing of mail. #}
<p>{% trans "Thanks," %}</p> <p>{% trans "Thanks," %}</p>
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
{{ course_team_name }} created the {{ course_run }} : {{ dashboard_url }} course run of {{ course_title }} in Publisher on {{ date }} at {{ time }}. {{ course_team_name }} created the {{ course_run }} : {{ dashboard_url }} course run of {{ course_title }} in Publisher on {{ date }} at {{ time }}.
{% endblocktrans %} {% endblocktrans %}
{% trans "Please create a Studio URL for this course." %}
{% trans "Thanks," %} {% trans "Thanks," %}
{% trans "The edX team" %} {% trans "The edX team" %}
...@@ -143,7 +143,6 @@ class CourseCreatedEmailTests(SiteMixin, TestCase): ...@@ -143,7 +143,6 @@ class CourseCreatedEmailTests(SiteMixin, TestCase):
body = mail.outbox[0].body.strip() body = mail.outbox[0].body.strip()
self.assertIn('{name} created the'.format(name=self.course_team.full_name), body) self.assertIn('{name} created the'.format(name=self.course_team.full_name), body)
self.assertIn('{dashboard_url}'.format(dashboard_url=reverse('publisher:publisher_dashboard')), body) self.assertIn('{dashboard_url}'.format(dashboard_url=reverse('publisher:publisher_dashboard')), body)
self.assertIn('Please create a Studio URL for this course.', body)
self.assertIn('Thanks', body) self.assertIn('Thanks', body)
def test_email_not_sent_with_notification_disabled(self): def test_email_not_sent_with_notification_disabled(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment