aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-08-10 12:34:02 -0400
committerlambadalambda <gitgud@rogerbraun.net>2017-08-10 12:34:02 -0400
commitdbad99cb4fac4750a881773c9add317a8a4d9664 (patch)
treeb65e3b704dd92529939abbb1e41ea579af4a6384 /src/components/notifications/notifications.vue
parent3c2073bc8ec36e45e0b8236081ca0c2b40ef958a (diff)
parent701112f043720c294241852f9aa0a0f1956cd71c (diff)
Merge branch 'feature/follow-notifications' into 'develop'
Add follow notifications. See merge request !92
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 6c0419a5..c9113bc4 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -36,6 +36,15 @@
</h1>
<status :compact="true" :statusoid="notification.status"></status>
</div>
+ <div v-if="notification.type === 'follow'">
+ <h1>
+ <span :title="'@'+notification.action.user.screen_name">{{ notification.action.user.name }}</span>
+ <i class="fa icon-user-plus lit"></i>
+ </h1>
+ <div>
+ <router-link :to="{ name: 'user-profile', params: { id: notification.action.user.id } }">@{{ notification.action.user.screen_name }}</router-link> followed you
+ </div>
+ </div>
</div>
</div>
</div>