From eab256a7e5ed540f07be3018f9ae593fc6d2d880 Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Fri, 28 Oct 2016 15:40:13 +0200
Subject: New status showing.

---
 src/components/timeline/timeline.vue | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'src/components/timeline/timeline.vue')

diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index 562656f6..216982f6 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -1,5 +1,12 @@
 <template>
   <div class="timeline">
+    <a href="#" v-on:click.prevent='showNewStatuses()' v-if="timeline.newStatusCount > 0">
+      <div class="new-status-notification">
+        <p class="text-center" >
+          {{timeline.newStatusCount}} new statuses
+        </p>
+      </div>
+    </a>
     <status v-for="status in timeline.visibleStatuses" v-bind:status="status"></status>
   </div>
 </template>
-- 
cgit v1.2.3-70-g09d2

