Sfoglia il codice sorgente

hide dropbox in left menu if you are not the admin

Henry Oswald 12 anni fa
parent
commit
dff74cf5cb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/web/app/views/project/editor/left-menu.jade

+ 1 - 1
services/web/app/views/project/editor/left-menu.jade

@@ -47,7 +47,7 @@ aside#left-menu.full-size(
 					|   Publish as Template
 
 
-	span(ng-controller="DropboxController", ng-show="!anonymous")
+	span(ng-controller="DropboxController", ng-show="permissions.admin")
 		h4() Sync
 		ul.list-unstyled.nav()
 			li