mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Don't show empty sync menu list for collaborators
This commit is contained in:
parent
3a9d8c2b31
commit
8f7dff1518
2 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue