forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [AXM-373] Add push notification event about course invitations (#…
…2557) * feat: [AXM-373] add push notifications for user enroll * feat: [AXM-373] add push notifications for user unenroll * feat: [AXM-373] add push notifications for add course beta testers * feat: [AXM-373] add push notifications for remove course beta testers * style: [AXM-373] remove debugger * fix: [AXM-373] fix after demo
- Loading branch information
1 parent
47dc395
commit e5697e7
Showing
14 changed files
with
75 additions
and
1 deletion.
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
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,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear {{ full_name }}{% endblocktrans %} | ||
{% blocktrans %}You have been invited to be a beta tester for {{ course_name }} at {{ site_name }} by a member of the course staff.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/addbetatester/push/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 %}You have been invited to a betca test for {{ course_name }}{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear student,{% endblocktrans %} | ||
{% blocktrans %}You have been invited to join {{ course_name }} at {{ site_name }} by a member of the course staff.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/allowedenroll/push/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 %}You have been invited to register for {{ course_name }}{% endblocktrans %} | ||
{% endautoescape %} |
5 changes: 5 additions & 0 deletions
5
lms/templates/instructor/edx_ace/allowedunenroll/push/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,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear Student,{% endblocktrans %} | ||
{% blocktrans %}You have been unenrolled from the course {{ course_name }} by a member of the course staff. Please disregard the invitation previously sent.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/allowedunenroll/push/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 %}You have been unenrolled from {{ course_name }}{% endblocktrans %} | ||
{% endautoescape %} |
5 changes: 5 additions & 0 deletions
5
lms/templates/instructor/edx_ace/enrolledunenroll/push/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,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear {{ full_name }}{% endblocktrans %} | ||
{% blocktrans %}You have been unenrolled from {{ course_name }} at {{ site_name }} by a member of the course staff. This course will no longer appear on your {{ site_name }} dashboard.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/enrolledunenroll/push/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 %}You have been unenrolled from {{ course_name }}{% endblocktrans %} | ||
{% endautoescape %} |
5 changes: 5 additions & 0 deletions
5
lms/templates/instructor/edx_ace/enrollenrolled/push/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,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear {{ full_name }}{% endblocktrans %} | ||
{% blocktrans %}You have been enrolled in {{ course_name }} at {{ site_name }} by a member of the course staff. This course will now appear on your {{ site_name }} dashboard.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/enrollenrolled/push/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 %}You have been enrolled in {{ course_name }}{% endblocktrans %} | ||
{% endautoescape %} |
5 changes: 5 additions & 0 deletions
5
lms/templates/instructor/edx_ace/removebetatester/push/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,5 @@ | ||
{% load i18n %} | ||
{% autoescape off %} | ||
{% blocktrans %}Dear {{ full_name }}{% endblocktrans %} | ||
{% blocktrans %}You have been removed as a beta tester for {{ course_name }} at {{ site_name }} by a member of the course staff. This course will remain on your dashboard, but you will no longer be part of the beta testing group.{% endblocktrans %} | ||
{% endautoescape %} |
4 changes: 4 additions & 0 deletions
4
lms/templates/instructor/edx_ace/removebetatester/push/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 %}You have been removed from a beta test for {{ course_name }}{% 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