diff --git a/ourchive_app/api/serializers.py b/ourchive_app/api/serializers.py
index dd006faa..be264f72 100644
--- a/ourchive_app/api/serializers.py
+++ b/ourchive_app/api/serializers.py
@@ -444,7 +444,7 @@ def create(self, validated_data):
notification_type = NotificationType.objects.filter(
type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Chapter Comment",
- content=f"""A new comment has been left on your chapter! Click here to view.""")
+ content=f"""A new comment for the work {comment.chapter.work.title} has been left on chapter {comment.chapter.title}! Click here to view.""")
notification.save()
user.has_notifications = True
user.save()
@@ -452,7 +452,7 @@ def create(self, validated_data):
user = User.objects.filter(id=comment.parent_comment.user.id).first()
notification_type = NotificationType.objects.filter(type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Reply",
- content=f"""A new reply has been made to your comment. Click here to view.""")
+ content=f"""A new reply has been made to your comment on {comment.chapter.work.title}. Click here to view.""")
notification.save()
user.has_notifications = True
user.save()
@@ -492,7 +492,7 @@ def create(self, validated_data):
notification_type = NotificationType.objects.filter(
type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Bookmark Comment",
- content=f"""A new comment has been left on your bookmark! Click here to view.""")
+ content=f"""A new comment has been left on your bookmark titled {comment.bookmark.title}! Click here to view.""")
notification.save()
user.has_notifications = True
user.save()
@@ -502,7 +502,7 @@ def create(self, validated_data):
user = User.objects.filter(id=comment.parent_comment.user.id).first()
notification_type = NotificationType.objects.filter(type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Reply",
- content=f"""A new reply has been made to your comment. Click here to view.""")
+ content=f"""A new reply has been made to your comment on the bookmark titled {comment.bookmark.title}. Click here to view.""")
notification.save()
user.has_notifications = True
user.save()
@@ -542,7 +542,7 @@ def create(self, validated_data):
notification_type = NotificationType.objects.filter(
type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Collection Comment",
- content=f"""A new comment has been left on your collection! Click here to view.""")
+ content=f"""A new comment has been left on your collection titled {comment.collection.title}! Click here to view.""")
notification.save()
user.has_notifications = True
user.save()
@@ -552,7 +552,7 @@ def create(self, validated_data):
user = User.objects.filter(id=comment.parent_comment.user.id).first()
notification_type = NotificationType.objects.filter(type_label="Comment Notification").first()
notification = Notification.objects.create(notification_type=notification_type, user=user, title="New Reply",
- content=f"""A new reply has been made to your comment. Click here to view.""")
+ content=f"""A new reply has been made to your comment on the collection titled {comment.collection.title}! Click here to view.""")
notification.save()
user.has_notifications = True
user.save()