Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Wolfgang Knopki
Spacedeck-open-SAML
Commits
6f1744bc
Commit
6f1744bc
authored
Apr 09, 2020
by
mntmn
Browse files
show share button only to admins
parent
fab2a61f
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/partials/tool/toolbar-elements.html
View file @
6f1744bc
...
...
@@ -100,7 +100,9 @@
</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-label"
>
[[ __('share') ]]
</span>
</button>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment