Skip to content

Commit

Permalink
finalize email templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Feb 29, 2024
1 parent 8d7173c commit 8c7c95e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}Great job!{% endblocktrans %}
{% blocktrans %}Congratulations!{% endblocktrans %}
{% endautoescape %}
<br />
</p>
Expand All @@ -20,14 +20,29 @@
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}You’ve completed "{{ course_name }}". {% endblocktrans %}
{% blocktrans %}You have successfully completed this course! {% endblocktrans %}
{% endautoescape %}
<br />
</p>
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}Your certificate/badge has been issued and is accessible via the following {% endblocktrans %}<a href="{{ course_progress_url }}">{% blocktrans %}URL{% endblocktrans %}</a>.
{% blocktrans %}Please click {% endblocktrans %}<a href="{{ course_progress_url }}">{% blocktrans %}here{% endblocktrans %}</a>{% blocktrans %} to view your accreditation. {% endblocktrans %}
{% endautoescape %}
<br />
<br />
</p>
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}Thank you. {% endblocktrans %}
{% endautoescape %}
<br />
</p>
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}SDAIA Academy{% endblocktrans %}
{% endautoescape %}
<br />
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% load i18n %}{% autoescape off %}
{% blocktrans %}Great job!{% endblocktrans %}
{% blocktrans %}Congratulations!{% endblocktrans %}
{% blocktrans %}{{ full_name }}{% endblocktrans %}
{% blocktrans %}You’ve completed "{{ course_name }}".{% endblocktrans %}
{% blocktrans %}Your certificate/badge has been issued and is accessible via the following {% endblocktrans %}<a href="{{ course_progress_url }}">{% blocktrans %}URL{% endblocktrans %}</a>.
{% blocktrans %}You have successfully completed this course! {% endblocktrans %}
{% blocktrans %}Please click {% endblocktrans %}<a href="{{ course_progress_url }}">{% blocktrans %}here{% endblocktrans %}</a>{% blocktrans %} to view your accreditation. {% endblocktrans %}
{% blocktrans %}Thank you. {% endblocktrans %}
{% blocktrans %}SDAIA Academy{% endblocktrans %}
{% endautoescape %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@
<p style="color: rgba(0,0,0,.75);">
{% autoescape off %}
{# xss-lint: disable=django-blocktrans-missing-escape-filter #}
{% blocktrans %}Great job!{% endblocktrans %}
{% if current_progress >= 25 and current_progress < 50 %}
{% blocktrans %}Well done!{% endblocktrans %}
{% elif current_progress >= 50 and current_progress < 75 %}
{% blocktrans %}Great job!{% endblocktrans %}
{% else %}
{% blocktrans %}Awesome!{% endblocktrans %}
{% endif %}
{% endautoescape %}
<br />
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{% load i18n %}{% autoescape off %}
{% if current_progress >= 25 and current_progress < 50 %}
{% blocktrans %}Well done!{% endblocktrans %}
{% elif current_progress >= 50 and current_progress < 75 %}
{% blocktrans %}Great job!{% endblocktrans %}
{% else %}
{% blocktrans %}Awesome!{% endblocktrans %}
{% endif %}
{% blocktrans %}{{ full_name }}{% endblocktrans %}
{% blocktrans %}You’ve completed {{ current_progress }}% of "{{ course_name }}".{% endblocktrans %}
{% blocktrans %}Keep it up! Continue your learning journey {% endblocktrans %}<a href="{{ course_home_url }}">{% blocktrans %}here{% endblocktrans %}</a>.
Expand Down

0 comments on commit 8c7c95e

Please sign in to comment.