diff options
| author | kPherox <admin@mail.kr-kp.com> | 2019-12-11 00:00:10 +0900 |
|---|---|---|
| committer | kPherox <admin@mail.kr-kp.com> | 2019-12-11 00:00:45 +0900 |
| commit | 6af870cd9069a8fc45b7684d264656dad0cf4a70 (patch) | |
| tree | 9641adca5f063e1673c9f96282ea705e4d3338da /src/components/notification/notification.vue | |
| parent | 2bc63720a5f9da740fa8082d587b6cfdd0c652ee (diff) | |
Add view for moves notifications
Diffstat (limited to 'src/components/notification/notification.vue')
| -rw-r--r-- | src/components/notification/notification.vue | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 1f192c77..cf4d8072 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -74,9 +74,13 @@ <i class="fa icon-user-plus lit" /> <small>{{ $t('notifications.followed_you') }}</small> </span> + <span v-if="notification.type === 'move'"> + <i class="fa icon-arrow-curved lit" /> + <small>{{ $t('notifications.moved_to') }}</small> + </span> </div> <div - v-if="notification.type === 'follow'" + v-if="notification.type === 'follow' || notification.type === 'move'" class="timeago" > <span class="faint"> @@ -115,6 +119,14 @@ @{{ notification.from_profile.screen_name }} </router-link> </div> + <div + v-else-if="notification.type === 'move'" + class="move-text" + > + <router-link :to="userProfileLink"> + @{{ notification.target.screen_name }} + </router-link> + </div> <template v-else> <status class="faint" |
