forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Muhammad Faraz Maqsood
committed
Oct 19, 2023
1 parent
70c2829
commit 3737376
Showing
7 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 %} | ||
|
||
<!-- Their site uses old school block layout --> | ||
{% block extra_js %} | ||
|
||
<!-- Your package using 2SoD block layout --> | ||
{% block javascript %} | ||
<script src="{% static 'js/ninja.js' %}" type="text/javascript"></script> | ||
{% endblock javascript %} | ||
|
||
{% endblock extra_js %} | ||
{% endcomment %} | ||
|
13 changes: 13 additions & 0 deletions
13
lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- {% extends 'ace_common/edx_ace/common/base_body.html' %} --> | ||
|
||
{% load i18n %} | ||
{% load static %} | ||
{% block content %} | ||
<p style="color: rgba(0,0,0,.75);"> | ||
{% 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 %} | ||
<br /> | ||
</p> | ||
{% endblock %} |
2 changes: 2 additions & 0 deletions
2
lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/body.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 %} |
1 change: 1 addition & 0 deletions
1
lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/from_name.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ platform_name }} |
1 change: 1 addition & 0 deletions
1
lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/head.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- {% extends 'ace_common/edx_ace/common/base_head.html' %} --> |
4 changes: 4 additions & 0 deletions
4
lms/templates/nafath_openedx_integration/edx_ace/useractivationmessage/email/subject.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}SDAIA - Complete Nafath Authentication{% endblocktrans %} | ||
{% endautoescape %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters