diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-06-02 13:05:03 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-06-02 13:05:03 +0300 |
| commit | 24b7d7d9d453d279850af6bb000d41b1ea0be4cb (patch) | |
| tree | dd9023bf654aad8a186cde2ad5efe7a8bdadd488 /src/components/notifications/notifications.vue | |
| parent | b92be6a7efcf84a7dc076c9ca2f97d87180cd893 (diff) | |
Add mouseover tooltips for names in notif headings and timeline repeats, make the timeline repeat name into a link to the repeater profile and use the word 'repeat' instead of 'retweet'.
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 256d6f7a..97989aea 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -14,7 +14,7 @@ <div class='text' style="width: 100%;"> <div v-if="notification.type === 'favorite'"> <h1> - {{ notification.action.user.name }} + <span :title="'@'+notification.action.user.screen_name">{{ notification.action.user.name }}</span> <i class="fa icon-star"></i> <small><router-link :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> </h1> @@ -22,7 +22,7 @@ </div> <div v-if="notification.type === 'repeat'"> <h1> - {{ notification.action.user.name }} + <span :title="'@'+notification.action.user.screen_name">{{ notification.action.user.name }}</span> <i class="fa icon-retweet lit"></i> <small><router-link :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> </h1> @@ -30,7 +30,7 @@ </div> <div v-if="notification.type === 'mention'"> <h1> - {{ notification.action.user.name }} + <span :title="'@'+notification.action.user.screen_name">{{ notification.action.user.name }}</span> <i class="fa icon-reply lit"></i> <small><router-link :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> </h1> |
