From d2436fb9e5f8f512914033a2df33c57545d277a6 Mon Sep 17 00:00:00 2001
From: Xiaofeng An <futureweb2020@yandex.com>
Date: Tue, 5 Feb 2019 15:43:56 -0500
Subject: move hint inside Timeline component

---
 src/components/public_timeline/public_timeline.vue | 29 +---------------------
 1 file changed, 1 insertion(+), 28 deletions(-)

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

diff --git a/src/components/public_timeline/public_timeline.vue b/src/components/public_timeline/public_timeline.vue
index 7bbface6..85d42cca 100644
--- a/src/components/public_timeline/public_timeline.vue
+++ b/src/components/public_timeline/public_timeline.vue
@@ -1,32 +1,5 @@
 <template>
-  <div>
-    <div v-if="!currentUser" class="login-hint panel panel-default">
-      <div class="panel-body">
-        <router-link :to="{ name: 'login' }">
-          {{ $t("login.hint") }}
-        </router-link>
-      </div>
-    </div>
-    <Timeline :title="$t('nav.public_tl')" v-bind:timeline="timeline" v-bind:timeline-name="'public'"/>
-  </div>
+  <Timeline :title="$t('nav.public_tl')" v-bind:timeline="timeline" v-bind:timeline-name="'public'"/>
 </template>
 
 <script src="./public_timeline.js"></script>
-
-<style lang="scss">
-@import '../../_variables.scss';
-
-.login-hint {
-  text-align: center;
-  
-  @media all and (min-width: 801px) {
-    display: none;
-  }
-
-  a {
-    display: inline-block;
-    padding: 1em 0px;
-    width: 100%;
-  }
-}
-</style>
-- 
cgit v1.2.3-70-g09d2

