aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-06-02 06:34:10 -0400
committerlambadalambda <gitgud@rogerbraun.net>2017-06-02 06:34:10 -0400
commitdb234bc293ed510e7f6747becc30283f3c11d2ab (patch)
treedd9023bf654aad8a186cde2ad5efe7a8bdadd488 /src/components/notifications/notifications.vue
parentb92be6a7efcf84a7dc076c9ca2f97d87180cd893 (diff)
parent24b7d7d9d453d279850af6bb000d41b1ea0be4cb (diff)
Merge branch 'feature/tooltips-for-notifications-repeats' into 'develop'
User name tooltips for notifications and repeats See merge request !84
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue6
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>