Add support for notifications of types "mention" and "reblog"
This commit is contained in:
parent
f4489b368f
commit
927754bebf
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
||||||
<img :src="require('@/assets/forkawesome/thumbs-o-up.svg')">
|
<img :src="require('@/assets/forkawesome/thumbs-o-up.svg')">
|
||||||
<span>{{ getSenderName(notification) }} liked your post</span>
|
<span>{{ getSenderName(notification) }} liked your post</span>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="notification.type === 'mention'">
|
||||||
|
<img :src="require('@/assets/forkawesome/comment-o.svg')">
|
||||||
|
<span>{{ getSenderName(notification) }} mentioned you</span>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="notification.type === 'reblog'">
|
||||||
|
<img :src="require('@/assets/feather/repeat.svg')">
|
||||||
|
<span>{{ getSenderName(notification) }} reposted your post</span>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<post v-if="notification.status" :post="notification.status"></post>
|
<post v-if="notification.status" :post="notification.status"></post>
|
||||||
<router-link
|
<router-link
|
||||||
|
|
Loading…
Reference in a new issue