diff client/src/components/Sidebar.vue @ 2399:e120631797f6 staging_consolidation

wip
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 27 Feb 2019 13:50:24 +0100
parents 8d025f85a3fe
children 598b0c262475
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Mon Feb 25 17:30:07 2019 +0100
+++ b/client/src/components/Sidebar.vue	Wed Feb 27 13:50:24 2019 +0100
@@ -40,6 +40,19 @@
             </span>
           </router-link>
         </div>
+        <div v-if="isWaterwayAdmin">
+          <router-link to="/imports/overview" class="position-relative">
+            <font-awesome-icon
+              class="fa-fw mr-2"
+              fixed-width
+              icon="clipboard-check"
+            ></font-awesome-icon>
+            <span class="fix-trans-space" v-translate>Staging area</span>
+            <span class="indicator" v-if="showSidebar && staging.length">
+              {{ staging.length }}
+            </span>
+          </router-link>
+        </div>
         <div v-if="isSysAdmin">
           <router-link to="/stretches">
             <font-awesome-icon