Skip to content

Commit

Permalink
fix: Added message to Course update notification in case of small text (
Browse files Browse the repository at this point in the history
  • Loading branch information
AhtishamShahid committed May 21, 2024
1 parent e95d7e7 commit 362899e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ def send_course_update_notification(course_key, content, user):
notification_data = CourseNotificationData(
course_key=course_key,
content_context={
"course_update_content": text_content,
"course_update_content": text_content if len(text_content.strip()) < 10 else "Click here to view",
**extra_context,
},
notification_type="course_update",
Expand Down

0 comments on commit 362899e

Please sign in to comment.