Merge pull request #20806 from open-craft/gr4yscale/send-direct-link-to-course-in-emails

Add link to course url in the account creation and enrollment email
This commit is contained in:
Dave St.Germain
2020-02-25 15:17:14 -05:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

@@ -41,6 +41,15 @@
<br />
</p>
<p style="color: rgba(0,0,0,.75);">
<a href="{{ course_url }}">
{% filter force_escape %}
{% blocktrans %}You may access your course.{% endblocktrans %}
{% endfilter %}
</a>
<br />
</p>
<p style="color: rgba(0,0,0,.75);">
{% filter force_escape %}
{% blocktrans %}Sincerely yours, The {{ course_name }} Team{% endblocktrans %}

View File

@@ -8,4 +8,6 @@
{% blocktrans %}It is recommended that you change your password.{% endblocktrans %}
{% blocktrans %}Sincerely yours, The {{ course_name }} Team{% endblocktrans %}{% endautoescape %}
{% blocktrans %}You may access your course at: {{ course_url }}.{% endblocktrans %}
{% blocktrans %}Sincerely yours, The {{ course_name }} Team{% endblocktrans %}{% endautoescape %}