From b849d4c2ba088554a68d00b87afc249a1d3fa180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Will=20=E4=BF=9D=E5=93=A5?= Date: Mon, 6 Apr 2020 18:16:17 +0800 Subject: Update layouts.js --- client/components/main/layouts.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/components/main/layouts.js') diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index ec4a35cc..a4768900 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -73,6 +73,8 @@ Template.userFormsLayout.helpers({ name = 'Igbo'; } else if (lang.name === 'oc') { name = 'Occitan'; + } else if (lang.name === 'zh-TW') { + name = '繁體中文(台灣)'; } return { tag, name }; }).sort(function(a, b) { -- cgit v1.2.3-1-g7c22 From e0930c32a609813c154acec9b3015ad0b095d462 Mon Sep 17 00:00:00 2001 From: Will Date: Tue, 7 Apr 2020 09:43:23 +0000 Subject: Correct zh-TW language name (the right way) --- client/components/main/layouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/main/layouts.js') diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index a4768900..e5c86d76 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -73,7 +73,7 @@ Template.userFormsLayout.helpers({ name = 'Igbo'; } else if (lang.name === 'oc') { name = 'Occitan'; - } else if (lang.name === 'zh-TW') { + } else if (lang.name === '繁体中文(台湾)') { name = '繁體中文(台灣)'; } return { tag, name }; -- cgit v1.2.3-1-g7c22 From 3e817257ef6d7a527aaad040cdcdcc642caea3c1 Mon Sep 17 00:00:00 2001 From: salleman Date: Mon, 13 Apr 2020 21:06:27 +0200 Subject: hide password auth with PASSWORD_LOGIN_ENABLED variable --- client/components/main/layouts.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/components/main/layouts.js') diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index e5c86d76..23960a9e 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -31,6 +31,11 @@ Template.userFormsLayout.onCreated(function() { return this.stop(); }, }); + Meteor.call('isPasswordDisabled', (_, result) => { + if (result) { + $('.at-pwd-form').hide(); + } + }); }); Template.userFormsLayout.onRendered(() => { -- cgit v1.2.3-1-g7c22 From 1389ed0fce80c622220104e6c0e693ac52ce2177 Mon Sep 17 00:00:00 2001 From: Allemand <37148072+salleman33@users.noreply.github.com> Date: Tue, 14 Apr 2020 08:48:51 +0200 Subject: Update layouts.js --- client/components/main/layouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/main/layouts.js') diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index 23960a9e..83678e73 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -31,7 +31,7 @@ Template.userFormsLayout.onCreated(function() { return this.stop(); }, }); - Meteor.call('isPasswordDisabled', (_, result) => { + Meteor.call('isPasswordLoginDisabled', (_, result) => { if (result) { $('.at-pwd-form').hide(); } -- cgit v1.2.3-1-g7c22