diff --git a/web/pages/notifications.tsx b/web/pages/notifications.tsx
index e20b6028..185225e9 100644
--- a/web/pages/notifications.tsx
+++ b/web/pages/notifications.tsx
@@ -275,7 +275,9 @@ function IncomeNotificationGroupItem(props: {
>
{'Daily Income Summary: '}
- {formatMoney(totalIncome)}
+
+ {'+' + formatMoney(totalIncome)}
+
@@ -291,11 +293,44 @@ function IncomeNotificationGroupItem(props: {
.slice(0, numSummaryLines)
.map((notification) => {
return (
-
+ >
+
@@ -640,6 +675,34 @@ function NotificationSettings() {
)
}
+function NotificationLink(props: { notification: Notification }) {
+ const { notification } = props
+ const {
+ sourceType,
+ sourceContractTitle,
+ sourceContractCreatorUsername,
+ sourceContractSlug,
+ sourceSlug,
+ sourceTitle,
+ } = notification
+ return (
+
+ {sourceContractTitle || sourceTitle}
+
+ )
+}
+
function NotificationItem(props: {
notification: Notification
justSummary?: boolean
@@ -656,11 +719,9 @@ function NotificationItem(props: {
sourceUserUsername,
createdTime,
sourceText,
- sourceContractTitle,
sourceContractCreatorUsername,
sourceContractSlug,
sourceSlug,
- sourceTitle,
} = notification
const [defaultNotificationText, setDefaultNotificationText] =
@@ -790,20 +851,7 @@ function NotificationItem(props: {
{sourceType && reason && (
)}
@@ -892,9 +940,7 @@ function NotificationTextLabel(props: {
)
} else if (sourceType === 'bonus' && sourceText) {
return (
-