diff options
author | dartcafe <github@dartcafe.de> | 2020-01-29 01:09:26 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-01-29 01:09:26 +0300 |
commit | 9cb5ec7dcff3ade3230785a10e8f08f116295976 (patch) | |
tree | 6ca10f45ffc19a7184727c89d828bdc0681dd61d /src/js/components/SideBar/SideBarTabOptions.vue | |
parent | e966bb58c5b14bac5c73ec61050238c0eee97430 (diff) |
Allow/Deny admin access
Diffstat (limited to 'src/js/components/SideBar/SideBarTabOptions.vue')
-rw-r--r-- | src/js/components/SideBar/SideBarTabOptions.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/components/SideBar/SideBarTabOptions.vue b/src/js/components/SideBar/SideBarTabOptions.vue index ebc420a8..6b5975f0 100644 --- a/src/js/components/SideBar/SideBarTabOptions.vue +++ b/src/js/components/SideBar/SideBarTabOptions.vue @@ -22,6 +22,10 @@ <template> <div> + <div v-if="acl.isAdmin" class="config-box"> + <label class="icon-checkmark title"> {{ t('polls', 'As an admin you may edit this poll') }} </label> + </div> + <SideBarTabDateOptions v-if="acl.allowEdit && poll.type === 'datePoll'" /> <SideBarTabTextOptions v-if="acl.allowEdit && poll.type === 'textPoll'" /> </div> |