From 24b7d7d9d453d279850af6bb000d41b1ea0be4cb Mon Sep 17 00:00:00 2001
From: Shpuld Shpuldson <shpuld@gmail.com>
Date: Fri, 2 Jun 2017 13:05:03 +0300
Subject: 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'.

---
 src/components/notifications/notifications.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/notifications/notifications.vue')

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>
-- 
cgit v1.2.3-70-g09d2

