Don't show empty sync menu list for collaborators

This commit is contained in:
James Allen 2014-10-08 15:57:56 +01:00
parent 3a9d8c2b31
commit 8f7dff1518
2 changed files with 10 additions and 8 deletions

View file

@ -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)}

View file

@ -303,4 +303,5 @@ module.exports =
"/templates/index": "/templates/"
proxyUrls: {}
reloadModuleViewsOnEachRequest: true