diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-02-26 11:39:42 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-02-26 11:39:42 +0100 |
| commit | 290180a987ecb4949fc877c512f3cff120bcbc70 (patch) | |
| tree | 7217c877059e94bd9a435021b7e2cd42b66e24cb /src/components/notifications/notifications.vue | |
| parent | 7661357cf669ef57bfdd3e39c0c5574094984de4 (diff) | |
| parent | bebd5c3328422aacf65996776e282d032347c5c9 (diff) | |
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 785cc019..41c274aa 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -1,9 +1,12 @@ <template> <div class="notifications"> <div class="panel panel-default base00-background"> - <div class="panel-heading base01-background base04">Notifications ({{unseenCount}}) <button @click.prevent="markAsSeen">Read!</button></div> + <div class="panel-heading base01-background base04"> + Notifications ({{unseenCount}}) + <button @click.prevent="markAsSeen" class="base05 base02-background">Read!</button> + </div> <div class="panel-body"> - <div v-for="notification in visibleNotifications" class="notification" :class='{"base01-background": notification.seen}'> + <div v-for="notification in visibleNotifications" class="notification" :class='{"unseen": !notification.seen}'> <a :href="notification.action.user.statusnet_profile_url"> <img class='avatar' :src="notification.action.user.profile_image_url_original"> </a> |
