summaryrefslogtreecommitdiffstats
path: root/client/components/main/layouts.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-11-20 02:38:00 +0200
committerLauri Ojansivu <x@xet7.org>2018-11-20 02:38:00 +0200
commitdd6ba152a0b38950f82ec98fbe51fb746c402615 (patch)
tree694988c0e8c06d0c423d41a02b282c7ccc6f51a9 /client/components/main/layouts.js
parentcb9ced756fb9fd0f731fe194d732f21bcb156578 (diff)
downloadwekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.tar.gz
wekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.tar.bz2
wekan-dd6ba152a0b38950f82ec98fbe51fb746c402615.zip
Admin Panel / Layout: Hide Logo: Yes / No. This does hide Wekan logo on Login page and Board page. Thanks to xet7.
Diffstat (limited to 'client/components/main/layouts.js')
-rw-r--r--client/components/main/layouts.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js
index 393f890b..d4a9d6d1 100644
--- a/client/components/main/layouts.js
+++ b/client/components/main/layouts.js
@@ -20,7 +20,13 @@ const validator = {
},
};
+Template.userFormsLayout.onCreated(() => {
+ Meteor.subscribe('setting');
+
+});
+
Template.userFormsLayout.onRendered(() => {
+
AccountsTemplates.state.form.keys = new Proxy(AccountsTemplates.state.form.keys, validator);
const i18nTag = navigator.language;
@@ -31,6 +37,11 @@ Template.userFormsLayout.onRendered(() => {
});
Template.userFormsLayout.helpers({
+
+ currentSetting() {
+ return Settings.findOne();
+ },
+
languages() {
return _.map(TAPi18n.getLanguages(), (lang, code) => {
const tag = code;