summaryrefslogtreecommitdiffstats
path: root/client/components/main/layouts.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-16 23:46:04 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-16 23:46:04 +0200
commit7f74e72cea111f6a776a12e6447847056af53fea (patch)
treea0e8e5e2c0e7aead5fb6ee1b04c1986d92a32776 /client/components/main/layouts.js
parentbd1df642fa2a3d5962ca1ceba8decd6516811361 (diff)
downloadwekan-7f74e72cea111f6a776a12e6447847056af53fea.tar.gz
wekan-7f74e72cea111f6a776a12e6447847056af53fea.tar.bz2
wekan-7f74e72cea111f6a776a12e6447847056af53fea.zip
- 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 !
Diffstat (limited to 'client/components/main/layouts.js')
-rw-r--r--client/components/main/layouts.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js
index d4a9d6d1..a50d167e 100644
--- a/client/components/main/layouts.js
+++ b/client/components/main/layouts.js
@@ -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;