changeset 1413:c5e004b97394

removed whitespaces in translation tags and added margin between icons and text
author Markus Kottlaender <markus@intevation.de>
date Thu, 29 Nov 2018 09:59:10 +0100
parents 15c3672e2e86
children 92d9dec88add 5e1218b5a123
files client/src/components/Sidebar.vue
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Thu Nov 29 09:43:16 2018 +0100
+++ b/client/src/components/Sidebar.vue	Thu Nov 29 09:59:10 2018 +0100
@@ -9,7 +9,7 @@
     <div class="menu text-nowrap text-left">
       <router-link to="/">
         <font-awesome-icon icon="map-marked-alt" fixed-width></font-awesome-icon>
-        <translate> Map </translate>
+        <translate>Map</translate>
       </router-link>
       <a
         href="#"
@@ -17,7 +17,7 @@
         :class="['secondary', { active: isActive('bottlenecks') }]"
       >
         <font-awesome-icon icon="ship" fixed-width></font-awesome-icon>
-        <translate> Bottlenecks </translate>
+        <translate>Bottlenecks</translate>
       </a>
       <div v-if="isWaterwayAdmin">
         <a
@@ -26,7 +26,7 @@
           :class="['secondary', { active: isActive('imports') }]"
         >
           <font-awesome-icon icon="upload" fixed-width></font-awesome-icon>
-          <translate> Import soundingresults </translate>
+          <translate>Import soundingresults</translate>
         </a>
         <a
           href="#"
@@ -34,33 +34,33 @@
           :class="['secondary', { active: isActive('staging') }]"
         >
           <font-awesome-icon icon="clipboard-check" fixed-width></font-awesome-icon>
-          <translate> Staging area </translate>
+          <translate>Staging area</translate>
         </a>
         <small class="text-muted pl-3"><translate>Systemadministration</translate></small>
         <hr class="m-0">
         <router-link to="usermanagement">
           <font-awesome-icon icon="users-cog" fixed-width></font-awesome-icon>
-          <translate> Users </translate>
+          <translate>Users</translate>
         </router-link>
       </div>
       <div v-if="isSysAdmin">
         <router-link to="systemconfiguration">
           <font-awesome-icon icon="wrench" fixed-width></font-awesome-icon>
-          <translate> Systemconfiguration </translate>
+          <translate>Systemconfiguration</translate>
         </router-link>
         <router-link to="logs">
           <font-awesome-icon icon="book" fixed-width></font-awesome-icon>
-          <translate> Logs </translate>
+          <translate>Logs</translate>
         </router-link>
         <router-link to="importqueue">
           <font-awesome-icon icon="tasks" fixed-width></font-awesome-icon>
-          <translate> Importqueue </translate>
+          <translate>Importqueue</translate>
         </router-link>
       </div>
       <hr class="m-0">
       <a href="#" @click="logoff">
         <font-awesome-icon icon="power-off" fixed-width></font-awesome-icon>
-        <translate> Logout </translate> {{ user }}
+        <translate>Logout</translate> {{ user }}
       </a>
     </div>
   </div>
@@ -143,8 +143,10 @@
     padding: 0.5rem 1rem
     color: #333
     text-decoration: none
-    svg path
-      fill: #666
+    svg
+      margin-right: 0.5rem
+      path
+        fill: #666
     &:hover
       background-color: #f8f8f8
     &.router-link-exact-active