mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Finish the transition from Spacebars to Jade
This commit is contained in:
parent
a16b7cd69c
commit
a41e07b37e
3 changed files with 14 additions and 17 deletions
|
|
@ -5,3 +5,9 @@ template(name="editor")
|
||||||
autofocus=autofocus
|
autofocus=autofocus
|
||||||
placeholder="{{_ 'comment-placeholder'}}")
|
placeholder="{{_ 'comment-placeholder'}}")
|
||||||
+Template.contentBlock
|
+Template.contentBlock
|
||||||
|
|
||||||
|
template(name="viewer")
|
||||||
|
+mentions
|
||||||
|
+emoji
|
||||||
|
+markdown
|
||||||
|
{{> UI.contentBlock }}
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,11 @@ template(name="defaultLayout")
|
||||||
#content
|
#content
|
||||||
+yield
|
+yield
|
||||||
|
|
||||||
|
template(name="notfound")
|
||||||
|
+message(label='page-not-found')
|
||||||
|
|
||||||
|
template(name="message")
|
||||||
|
.big-message.quiet(class=color)
|
||||||
|
h1 {{_ label}}
|
||||||
|
with(pathFor route='atSignIn')
|
||||||
|
p {{{_ 'page-maybe-private' this}}}
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<template name="notfound">
|
|
||||||
{{ > message label='page-not-found'}}
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template name='message'>
|
|
||||||
<div class="big-message quiet {{ color }}">
|
|
||||||
<h1>{{_ label}}</h1>
|
|
||||||
{{#with pathFor route='atSignIn'}}
|
|
||||||
<p>{{{_ 'page-maybe-private' this}}}</p>
|
|
||||||
{{/with}}
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<!-- XXX This should be moved to editor.jade but there is an issue with jade
|
|
||||||
handling of the markdown component. -->
|
|
||||||
|
|
||||||
<template name="viewer">{{#markdown}}{{#emoji}}{{#mentions}}{{> UI.contentBlock }}{{/mentions}}{{/emoji}}{{/markdown}}</template>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue