logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: db234bc293ed510e7f6747becc30283f3c11d2ab
parent: b92be6a7efcf84a7dc076c9ca2f97d87180cd893
Author: lambadalambda <gitgud@rogerbraun.net>
Date:   Fri,  2 Jun 2017 06:34:10 -0400

Merge branch 'feature/tooltips-for-notifications-repeats' into 'develop'

User name tooltips for notifications and repeats

See merge request !84

Diffstat:

Msrc/components/notifications/notifications.vue6+++---
Msrc/components/status/status.vue2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 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> diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -28,7 +28,7 @@ <i class='fa icon-retweet retweeted'></i> </div> <div class="media-body"> - Retweeted by {{retweeter}} + Repeated by <a :href="statusoid.user.statusnet_profile_url" style="font-weight: bold;" :title="'@'+statusoid.user.screen_name">{{retweeter}}</a> </div> </div> <div class="media status container">