diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-29 23:03:23 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-29 23:03:23 +0000 |
| commit | 3b6c31f3b3d2326ffbe258c826f6dbd3f5374cf2 (patch) | |
| tree | b65d8ced59250c758ffa7aeb313c4ae783ee0a9f /src/components/notification/notification.vue | |
| parent | e812d5ea3c97fdac0ed6b23817ae144cf96bb300 (diff) | |
| parent | 0a79a747730bb4a10eb2544412dab68a10602240 (diff) | |
Merge branch 'from/develop/tusooa/1189-mention-uri' into 'develop'
Use dedicated indicator for non-ascii domain names
Closes #1189
See merge request pleroma/pleroma-fe!1632
Diffstat (limited to 'src/components/notification/notification.vue')
| -rw-r--r-- | src/components/notification/notification.vue | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 6a5417b3..26b174ff 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -11,9 +11,10 @@ class="Notification container -muted" > <small> - <router-link :to="userProfileLink"> - {{ notification.from_profile.screen_name_ui }} - </router-link> + <user-link + :user="notification.from_profile" + :at="false" + /> </small> <button class="button-unstyled unmute" @@ -174,12 +175,10 @@ v-if="notification.type === 'follow' || notification.type === 'follow_request'" class="follow-text" > - <router-link - :to="userProfileLink" + <user-link class="follow-name" - > - @{{ notification.from_profile.screen_name_ui }} - </router-link> + :user="notification.from_profile" + /> <div v-if="notification.type === 'follow_request'" style="white-space: nowrap;" @@ -210,9 +209,9 @@ v-else-if="notification.type === 'move'" class="move-text" > - <router-link :to="targetUserProfileLink"> - @{{ notification.target.screen_name_ui }} - </router-link> + <user-link + :user="notification.target" + /> </div> <Report v-else-if="notification.type === 'pleroma:report'" |
