aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.vue
diff options
context:
space:
mode:
authorshpuld <shpuld@gmail.com>2017-03-07 15:55:00 +0200
committershpuld <shpuld@gmail.com>2017-03-07 15:55:00 +0200
commit58fdf9e70d56e23fe6c6cd73e31532ebde4caac1 (patch)
treeeb0fc83fa08128d1d419bc99ba08d0c77e8a3f44 /src/components/notifications/notifications.vue
parente64a5beb35ca7c356054b68c861cc44ccac42bc5 (diff)
Put the number of notifications inside a red circle (kinda like qvitter and everyone else does), make the red notification line slightly less transparent.
Diffstat (limited to 'src/components/notifications/notifications.vue')
-rw-r--r--src/components/notifications/notifications.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index e0dcb12d..91f6cfdc 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -2,7 +2,8 @@
<div class="notifications">
<div class="panel panel-default base00-background">
<div class="panel-heading base01-background base04">
- Notifications ({{unseenCount}})
+ <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">