aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-09 10:33:21 +0100
committerRoger Braun <roger@rogerbraun.net>2017-03-09 10:33:21 +0100
commit0eeccb87cef4d137710e3c7fd215b94e45aff3d1 (patch)
tree584085071af589e58f79ffb67051c49b6bd883bb /src/components/notifications/notifications.vue
parent290180a987ecb4949fc877c512f3cff120bcbc70 (diff)
parent64d71b75cfed41d82a99e3e478fc75d5f81f84bd (diff)
Merge branch 'develop' into feature/hash-routed
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}'>