diff --git a/lms/templates/nafath_openedx_integration/base.html b/lms/templates/nafath_openedx_integration/base.html new file mode 100644 index 000000000000..d13a13ed43ab --- /dev/null +++ b/lms/templates/nafath_openedx_integration/base.html @@ -0,0 +1,22 @@ + +{% comment %} +As the developer of this package, don't place anything here if you can help it +since this allows developers to have interoperability between your template +structure and their own. + +Example: Developer melding the 2SoD pattern to fit inside with another pattern:: + + {% extends "base.html" %} + {% load static %} + + + {% block extra_js %} + + + {% block javascript %} + + {% endblock javascript %} + + {% endblock extra_js %} +{% endcomment %} + diff --git a/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.html b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.html new file mode 100644 index 000000000000..876d582afd7e --- /dev/null +++ b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.html @@ -0,0 +1,13 @@ + + +{% load i18n %} +{% load static %} +{% block content %} +

+ {% autoescape off %} + {# xss-lint: disable=django-blocktrans-missing-escape-filter #} + {% blocktrans %}This is one time OTP {{ activation_code }}. Kindly use this to complete nafath authentication with SDAIA.{% endblocktrans %} + {% endautoescape %} +
+

+{% endblock %} diff --git a/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.txt b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.txt new file mode 100644 index 000000000000..01ac74599df1 --- /dev/null +++ b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.txt @@ -0,0 +1,2 @@ +{% load i18n %}{% autoescape off %}{% blocktrans %}This is one time OTP {{ activation_code }}. Kindly use this to complete nafath authentication with SDAIA.{% endblocktrans %} +{% endautoescape %} diff --git a/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/from_name.txt b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/from_name.txt new file mode 100644 index 000000000000..dcbc23c00480 --- /dev/null +++ b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/from_name.txt @@ -0,0 +1 @@ +{{ platform_name }} diff --git a/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/head.html b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/head.html new file mode 100644 index 000000000000..83d045ed4c69 --- /dev/null +++ b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/head.html @@ -0,0 +1 @@ + diff --git a/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/subject.txt b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/subject.txt new file mode 100644 index 000000000000..80037dcd1a41 --- /dev/null +++ b/lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/subject.txt @@ -0,0 +1,4 @@ +{% load i18n %} +{% autoescape off %} +{% blocktrans %}SDAIA - Complete Nafath Authentication{% endblocktrans %} +{% endautoescape %}