From f5e6a2a43f00d692bec995adb4b31d8fc6f316cf Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 4 May 2022 15:13:22 +0530 Subject: [PATCH 1/2] display instance name on login and register --- customize.dist/pages/login.js | 2 +- customize.dist/pages/register.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/customize.dist/pages/login.js b/customize.dist/pages/login.js index 4f255a30b..b28c61e13 100644 --- a/customize.dist/pages/login.js +++ b/customize.dist/pages/login.js @@ -15,7 +15,7 @@ define([ h('div.row', [ h('div.col-md-3'), h('div#userForm.form-group.hidden.col-md-6', [ - h('div.cp-login-instance',Msg.login_instance), + h('div.cp-login-instance', Msg._getKey('login_instance', [ Pages.Instance.name ])), h('input.form-control#name', { name: 'name', type: 'text', diff --git a/customize.dist/pages/register.js b/customize.dist/pages/register.js index 352590f4f..7a662d029 100644 --- a/customize.dist/pages/register.js +++ b/customize.dist/pages/register.js @@ -56,7 +56,8 @@ define([ h('div.cp-reg-form.col-md-6', [ h('div#userForm.form-group.hidden', [ h('div.cp-register-instance', [ - Msg.register_instance, h('br'), + Msg._getKey('register_instance', [ Pages.Instance.name ]), + h('br'), h('a', { href: '/features.html' }, Msg.register_whyRegister) From 2078d2b8df24999ae537937b67db70870f3b241c Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 4 May 2022 15:17:55 +0530 Subject: [PATCH 2/2] remove margin which caused an unnecessary scrollbar when window.innerWidth < 1185 --- customize.dist/src/less2/pages/page-index.less | 1 - 1 file changed, 1 deletion(-) diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index faedf47fc..6e66fce02 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -30,7 +30,6 @@ .cp-home-hero { width: 100%; - margin-bottom: 50px; align-self: center; align-items: center; }