From a2211815d475cce63ce54d885537ed9bea092fd1 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 8 Jun 2021 01:48:33 -0600 Subject: [PATCH 1/3] Update Activity component, add at (@) symbol for remote profiles and local urls for remote posts and profile --- resources/assets/js/components/Activity.vue | 40 ++++++++++++++------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/resources/assets/js/components/Activity.vue b/resources/assets/js/components/Activity.vue index 570a2e798..b14553328 100644 --- a/resources/assets/js/components/Activity.vue +++ b/resources/assets/js/components/Activity.vue @@ -19,42 +19,42 @@

- {{truncate(n.account.username)}} liked your post. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} liked your post.

- {{truncate(n.account.username)}} commented on your post. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} commented on your post.

- {{truncate(n.account.username)}} mentioned you. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} mentioned you.

- {{truncate(n.account.username)}} followed you. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} followed you.

- {{truncate(n.account.username)}} shared your post. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} shared your post.

- {{truncate(n.account.username)}} updated a modlog. + {{truncate(n.account.username)}} updated a modlog.

- {{truncate(n.account.username)}} tagged you in a post. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} tagged you in a post.

- {{truncate(n.account.username)}} sent a dm. + {{n.account.local == false ? '@':''}}{{truncate(n.account.username)}} sent a dm.

@@ -63,7 +63,7 @@
- +
@@ -83,7 +83,7 @@ Follow
--> - +