Mercurial > gemma
comparison client/src/components/Sidebar.vue @ 2277:5f3110aa1ad1
made configuration page accessible for waterway admins
User roles define what the configuration page shows.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 15 Feb 2019 10:57:50 +0100 |
parents | 8b5cc2dffbde |
children | 2e40909a975d |
comparison
equal
deleted
inserted
replaced
2276:920fba6eef0d | 2277:5f3110aa1ad1 |
---|---|
108 fixed-width | 108 fixed-width |
109 icon="users-cog" | 109 icon="users-cog" |
110 ></font-awesome-icon> | 110 ></font-awesome-icon> |
111 <span class="fix-trans-space" v-translate>Users</span> | 111 <span class="fix-trans-space" v-translate>Users</span> |
112 </router-link> | 112 </router-link> |
113 </div> | |
114 <div v-if="isWaterwayAdmin"> | |
113 <router-link to="systemconfiguration"> | 115 <router-link to="systemconfiguration"> |
114 <font-awesome-icon | 116 <font-awesome-icon |
115 class="fa-fw mr-2" | 117 class="fa-fw mr-2" |
116 fixed-width | 118 fixed-width |
117 icon="wrench" | 119 icon="wrench" |
118 ></font-awesome-icon> | 120 ></font-awesome-icon> |
119 <span class="fix-trans-space" v-translate>Configuration</span> | 121 <span class="fix-trans-space" v-translate>Configuration</span> |
120 </router-link> | 122 </router-link> |
123 </div> | |
124 <div v-if="isSysAdmin"> | |
121 <router-link to="logs"> | 125 <router-link to="logs"> |
122 <font-awesome-icon | 126 <font-awesome-icon |
123 class="fa-fw mr-2" | 127 class="fa-fw mr-2" |
124 fixed-width | 128 fixed-width |
125 icon="book" | 129 icon="book" |