aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-09 09:00:09 +0100
committerRoger Braun <roger@rogerbraun.net>2017-03-09 09:00:09 +0100
commitb11c1f57a95e689a751c4dff72ebe7aabc9c0601 (patch)
treeb2596b07c3482c76493cc61974932cdf33e296ab /src/components/notifications/notifications.vue
parent502757da28d573641a48197c284b7e40dfc8154e (diff)
parentba4f7ef3efe15aaebce523113283b5854d16ceb8 (diff)
Merge branch 'develop' into xj9/pleroma-fe-feature/even-better-nsfw-image-loading
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 41c274aa..91f6cfdc 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -2,8 +2,9 @@
<div class="notifications">
<div class="panel panel-default base00-background">
<div class="panel-heading base01-background base04">
- Notifications ({{unseenCount}})
- <button @click.prevent="markAsSeen" class="base05 base02-background">Read!</button>
+ <span class="unseen-count" v-if="unseenCount">{{unseenCount}}</span>
+ Notifications
+ <button @click.prevent="markAsSeen" class="base06 base02-background read-button">Read!</button>
</div>
<div class="panel-body">
<div v-for="notification in visibleNotifications" class="notification" :class='{"unseen": !notification.seen}'>