Only show services header if we have some services to render

This commit is contained in:
James Allen 2015-09-10 16:01:12 +01:00
parent 1c9f9274a9
commit 662050b3f9

View file

@ -48,9 +48,10 @@ aside#left-menu.full-size(
h4() #{translate("sync")}
!= moduleIncludes("editorLeftMenu:sync", locals)
span(ng-show="!anonymous")
h4 #{translate("services")}
!= moduleIncludes("editorLeftMenu:editing_services", locals)
if (moduleIncludesAvailable("editorLeftMenu:editing_services"))
span(ng-show="!anonymous")
h4 #{translate("services")}
!= moduleIncludes("editorLeftMenu:editing_services", locals)
h4(ng-show="!anonymous") #{translate("settings")}