fix jade warnings about missing space, need to escape the module html

insertions a different way. != func rather than !{func}
This commit is contained in:
Henry Oswald
2015-02-23 10:18:48 +00:00
parent f7f681d2a3
commit c33956c0af
3 changed files with 4 additions and 4 deletions
@@ -24,5 +24,5 @@ module.exports =
if err?
logger.err err:err, query:query, "problem getting messages from chat api"
return res.send 500
logger.log messages:messages, "sending messages to client"
logger.log length:messages?.length, "sending messages to client"
res.send messages
@@ -41,12 +41,12 @@ aside#left-menu.full-size(
)
i.fa.fa-fw.fa-copy
|    #{translate("copy_project")}
!{moduleIncludes("editorLeftMenu:actions", locals)}
!= moduleIncludes("editorLeftMenu:actions", locals)
if (moduleIncludesAvailable("editorLeftMenu:sync"))
div(ng-show="!anonymous")
h4() #{translate("sync")}
!{moduleIncludes("editorLeftMenu:sync", locals)}
!= moduleIncludes("editorLeftMenu:sync", locals)
h4(ng-show="!anonymous") #{translate("settings")}
form.settings(ng-controller="SettingsController", ng-show="!anonymous")
@@ -21,7 +21,7 @@
href,
ng-click="openUploadProjectModal()"
) #{translate("upload_project")}
!{moduleIncludes("newProjectMenu", locals)}
!= moduleIncludes("newProjectMenu", locals)
if (templates)
li.divider
li.dropdown-header #{translate("templates")}