mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
- Trying to get custom HTML working as described at
https://guide.meteor.com/v1.3/blaze.html#rendering-html Still does not work yet. Thanks to xet7 !
This commit is contained in:
parent
bd1df642fa
commit
7f74e72cea
2 changed files with 11 additions and 2 deletions
|
@ -38,9 +38,9 @@ template(name="userFormsLayout")
|
|||
template(name="defaultLayout")
|
||||
+header
|
||||
#content
|
||||
| {{{currentSetting.customHTMLafterBodyStart}}}
|
||||
| {{{afterBodyStart}}}
|
||||
+Template.dynamic(template=content)
|
||||
| {{{currentSetting.customHTMLbeforeBodyEnd}}}
|
||||
| {{{beforeBodyEnd}}}
|
||||
if (Modal.isOpen)
|
||||
#modal
|
||||
.overlay
|
||||
|
|
|
@ -42,6 +42,15 @@ Template.userFormsLayout.helpers({
|
|||
return Settings.findOne();
|
||||
},
|
||||
|
||||
|
||||
afterBodyStart() {
|
||||
return currentSetting.customHTMLafterBodyStart;
|
||||
},
|
||||
|
||||
beforeBodyEnd() {
|
||||
return currentSetting.customHTMLbeforeBodyEnd;
|
||||
},
|
||||
|
||||
languages() {
|
||||
return _.map(TAPi18n.getLanguages(), (lang, code) => {
|
||||
const tag = code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue