mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
Don't show empty sync menu list for collaborators
This commit is contained in:
@@ -46,13 +46,14 @@ aside#left-menu.full-size(
|
||||
i.fa.fa-external-link.fa-fw
|
||||
| #{translate("publish_as_template")}
|
||||
|
||||
h4() #{translate("sync")}
|
||||
span(ng-controller="DropboxController", ng-show="permissions.admin")
|
||||
ul.list-unstyled.nav()
|
||||
li
|
||||
a(ng-click="openDropboxModal()")
|
||||
i.fa.fa-dropbox.fa-fw
|
||||
| Dropbox
|
||||
div(ng-show="permissions.admin")
|
||||
h4() #{translate("sync")}
|
||||
span(ng-controller="DropboxController")
|
||||
ul.list-unstyled.nav()
|
||||
li
|
||||
a(ng-click="openDropboxModal()")
|
||||
i.fa.fa-dropbox.fa-fw
|
||||
| Dropbox
|
||||
|
||||
!{moduleIncludes("editorLeftMenu", locals)}
|
||||
|
||||
|
||||
@@ -303,4 +303,5 @@ module.exports =
|
||||
"/templates/index": "/templates/"
|
||||
|
||||
proxyUrls: {}
|
||||
|
||||
|
||||
reloadModuleViewsOnEachRequest: true
|
||||
|
||||
Reference in New Issue
Block a user