From 51862b8b2b172236d8f1df5268312a53e3744ea7 Mon Sep 17 00:00:00 2001
From: Daniel Supernault
Date: Tue, 14 Jul 2020 17:07:04 -0600
Subject: [PATCH] Update notification components, add modlog and tagged
notification types
---
resources/assets/js/components/Activity.vue | 13 +++++++++++++
resources/assets/js/components/NotificationCard.vue | 10 ++++++++++
2 files changed, 23 insertions(+)
diff --git a/resources/assets/js/components/Activity.vue b/resources/assets/js/components/Activity.vue
index f0e217e24..d2e7e0012 100644
--- a/resources/assets/js/components/Activity.vue
+++ b/resources/assets/js/components/Activity.vue
@@ -42,6 +42,16 @@
{{truncate(n.account.username)}} shared your post.
+
+
{{timeAgo(n.created_at)}}
@@ -236,6 +246,9 @@ export default {
case 'comment':
return n.status.url;
break;
+ case 'tagged':
+ return n.tagged.post_url;
+ break;
}
return '/';
},
diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue
index 645dc768f..2eb3034c6 100644
--- a/resources/assets/js/components/NotificationCard.vue
+++ b/resources/assets/js/components/NotificationCard.vue
@@ -57,6 +57,16 @@
{{truncate(n.account.username)}} updated a modlog.
+
+
+
+ We cannot display this notification at this time.
+
+
{{timeAgo(n.created_at)}}