From 4836c8ac74569668001f1adc39fe84377ddb7dba Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Sat, 22 Dec 2018 17:32:07 +0200
Subject: Add some more routes to side drawer

---
 src/components/side_drawer/side_drawer.vue | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

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

diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue
index b5f399b5..1593ae65 100644
--- a/src/components/side_drawer/side_drawer.vue
+++ b/src/components/side_drawer/side_drawer.vue
@@ -3,21 +3,25 @@
     <div class="panel panel-default side-drawer" :class="{'side-drawer-closed': closed}">
       <ul>
         <li v-if='currentUser'>
-          <a href="#" @click="gotoPanel('poststatus')">poststatus</a>
+          <a href="#" @click="gotoPanel('poststatus')">
+            {{ $t("post_status.new_status") }}
+          </a>
+        </li>
+        <li v-else>
+          <a href="#" @click="gotoPanel('poststatus')">
+            {{ $t("login.login") }}
+          </a>
         </li>
         <li v-if='currentUser'>
-          <a href="#" @click="gotoPanel('notifications')">notifications</a>
+          <a href="#" @click="gotoPanel('notifications')">
+            {{ $t("notifications.notifications") }}
+          </a>
         </li>
         <li v-if='currentUser'>
           <router-link @click.native="gotoPanel('timeline')" to='/main/friends'>
             {{ $t("nav.timeline") }}
           </router-link>
         </li>
-        <li v-if='currentUser'>
-          <router-link @click.native="gotoPanel('timeline')" :to="{ name: 'mentions', params: { username: currentUser.screen_name } }">
-            {{ $t("nav.mentions") }}
-          </router-link>
-        </li>
         <li v-if='currentUser'>
           <router-link @click.native="gotoPanel('timeline')" :to="{ name: 'dms', params: { username: currentUser.screen_name } }">
             {{ $t("nav.dms") }}
@@ -38,6 +42,16 @@
             {{ $t("nav.twkn") }}
           </router-link>
         </li>
+        <li>
+          <router-link @click.native="gotoPanel('timeline')" :to="{ name: 'settings'}">
+            {{ $t("settings.settings") }}
+          </router-link>
+        </li>
+        <li v-if="currentUser">
+          <a @click="doLogout" href="#">
+            {{ $t("login.logout") }}
+          </a>
+        </li>
       </ul>
     </div>
     <div class="side-drawer-click-outside" @click.stop.prevent="clickedOutside" :class="{'side-drawer-click-outside-closed': closed}"></div>
@@ -139,8 +153,6 @@
 
   &.router-link-active {
     font-weight: bolder;
-    background-color: $fallback--lightBg;
-    background-color: var(--lightBg, $fallback--lightBg);
 
     &:hover {
       text-decoration: underline;
-- 
cgit v1.2.3-70-g09d2

