Commit 6f1744bc authored by mntmn's avatar mntmn
Browse files

show share button only to admins

parent fab2a61f
...@@ -100,7 +100,9 @@ ...@@ -100,7 +100,9 @@
</div> </div>
</div> </div>
<button class="btn btn-transparent btn-icon-labeled" v-on:click="activate_access()"> <button class="btn btn-transparent btn-icon-labeled"
v-if="active_space_role=='admin'"
v-on:click="activate_access()">
<span class="icon icon-share"></span> <span class="icon icon-share"></span>
<span class="icon-label">[[ __('share') ]]</span> <span class="icon-label">[[ __('share') ]]</span>
</button> </button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment