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:
@@ -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")}
|
||||
|
||||
Reference in New Issue
Block a user