From f5e6a2a43f00d692bec995adb4b31d8fc6f316cf Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 4 May 2022 15:13:22 +0530 Subject: [PATCH] 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)