From eef99a6acc5547bd946c513fdb2a045aea7c51ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=86=D0=B2=D0=B0=D0=BD=20=D0=9D=D1=94=D0=B4=D1=94=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=96=D1=86=D0=B5=D0=B2?= Date: Fri, 6 Sep 2024 17:40:55 +0300 Subject: [PATCH] chore: [FC-0047] change push notifications texts --- .../discussion/edx_ace/responsenotification/push/body.txt | 2 +- lms/templates/instructor/edx_ace/allowedenroll/push/body.txt | 1 - .../instructor/edx_ace/allowedunenroll/push/body.txt | 1 - requirements/edx/base.txt | 2 -- requirements/edx/development.txt | 4 ---- requirements/edx/doc.txt | 2 -- requirements/edx/testing.txt | 2 -- 7 files changed, 1 insertion(+), 13 deletions(-) diff --git a/lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/push/body.txt b/lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/push/body.txt index c1fe3ba35b..ee97a6e329 100644 --- a/lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/push/body.txt +++ b/lms/djangoapps/discussion/templates/discussion/edx_ace/responsenotification/push/body.txt @@ -1,2 +1,2 @@ {% load i18n %} -{% blocktrans trimmed %}{{ comment_username }} replied to {{ thread_title }}{% endblocktrans %} +{% blocktrans trimmed %}{{ comment_username }} replied to {{ thread_title }}: {{ comment_body|truncatechars:200 }}{% endblocktrans %} diff --git a/lms/templates/instructor/edx_ace/allowedenroll/push/body.txt b/lms/templates/instructor/edx_ace/allowedenroll/push/body.txt index 14e4915f86..41ff994310 100644 --- a/lms/templates/instructor/edx_ace/allowedenroll/push/body.txt +++ b/lms/templates/instructor/edx_ace/allowedenroll/push/body.txt @@ -1,5 +1,4 @@ {% load i18n %} {% autoescape off %} -{% blocktrans %}Dear student,{% endblocktrans %} {% blocktrans %}You have been enrolled in {{ course_name }} at {{ site_name }}. This course will now appear on your {{ site_name }} dashboard.{% endblocktrans %} {% endautoescape %} diff --git a/lms/templates/instructor/edx_ace/allowedunenroll/push/body.txt b/lms/templates/instructor/edx_ace/allowedunenroll/push/body.txt index b825ce1d4d..c7342b6830 100644 --- a/lms/templates/instructor/edx_ace/allowedunenroll/push/body.txt +++ b/lms/templates/instructor/edx_ace/allowedunenroll/push/body.txt @@ -1,5 +1,4 @@ {% load i18n %} {% autoescape off %} -{% blocktrans %}Dear Student,{% endblocktrans %} {% blocktrans %}You have been unenrolled from the course {{ course_name }}. Please disregard the invitation previously sent.{% endblocktrans %} {% endautoescape %} diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 755e51d26f..85167e0d36 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -4,8 +4,6 @@ # # make upgrade # --e git+https://github.com/jazzband/django-push-notifications.git@0f7918136b5e6a9aec83d6513aad5b0f12143a9f#egg=django_push_notifications - # via -r requirements/edx/github.in -e git+https://github.com/anupdhabarde/edx-proctoring-proctortrack.git@31c6c9923a51c903ae83760ecbbac191363aa2a2#egg=edx_proctoring_proctortrack # via -r requirements/edx/github.in acid-xblock==0.3.1 diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 9c6bbbc2bb..876bc4fcc4 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -4,10 +4,6 @@ # # make upgrade # --e git+https://github.com/jazzband/django-push-notifications.git@0f7918136b5e6a9aec83d6513aad5b0f12143a9f#egg=django_push_notifications - # via - # -r requirements/edx/doc.txt - # -r requirements/edx/testing.txt -e git+https://github.com/anupdhabarde/edx-proctoring-proctortrack.git@31c6c9923a51c903ae83760ecbbac191363aa2a2#egg=edx_proctoring_proctortrack # via # -r requirements/edx/doc.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index 971dc13b06..a222e78518 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -4,8 +4,6 @@ # # make upgrade # --e git+https://github.com/jazzband/django-push-notifications.git@0f7918136b5e6a9aec83d6513aad5b0f12143a9f#egg=django_push_notifications - # via -r requirements/edx/base.txt -e git+https://github.com/anupdhabarde/edx-proctoring-proctortrack.git@31c6c9923a51c903ae83760ecbbac191363aa2a2#egg=edx_proctoring_proctortrack # via -r requirements/edx/base.txt accessible-pygments==0.0.5 diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 0d694458d1..ac468974eb 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -4,8 +4,6 @@ # # make upgrade # --e git+https://github.com/jazzband/django-push-notifications.git@0f7918136b5e6a9aec83d6513aad5b0f12143a9f#egg=django_push_notifications - # via -r requirements/edx/base.txt -e git+https://github.com/anupdhabarde/edx-proctoring-proctortrack.git@31c6c9923a51c903ae83760ecbbac191363aa2a2#egg=edx_proctoring_proctortrack # via -r requirements/edx/base.txt acid-xblock==0.3.1