- {courseName}
+ {courseName}
+
{intl.formatMessage(messages.fullStop)}
- {timeago.format(createdAt, 'time-locale')}
+ {timeago.format(createdAt, 'time-locale')}
+
{!lastRead && (
-
+
)}
diff --git a/src/Notifications/NotificationSections.jsx b/src/Notifications/NotificationSections.jsx
index 2048ce5..f2fefc7 100644
--- a/src/Notifications/NotificationSections.jsx
+++ b/src/Notifications/NotificationSections.jsx
@@ -44,6 +44,7 @@ const NotificationSections = () => {
variant="link"
className="text-info-500 font-size-14 line-height-10 text-decoration-none p-0 border-0"
onClick={handleMarkAllAsRead}
+ data-testid="mark-all-read"
>
{intl.formatMessage(messages.notificationMarkAsRead)}
@@ -66,11 +67,16 @@ const NotificationSections = () => {
};
return (
-
+
{renderNotificationSection('today', today)}
{renderNotificationSection('earlier', earlier)}
{currentPage < numPages && (
-