Added help button with custom URL.

This commit is contained in:
helioguardabaxo 2022-09-12 21:36:31 -03:00
parent 86d86b30e9
commit d610d03423
7 changed files with 24 additions and 2 deletions

View file

@ -229,6 +229,10 @@ template(name='layoutSettings')
.title {{_ 'custom-login-logo-link-url'}}
.form-group
input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
li.layout-form
.title {{_ 'custom-help-link-url'}}
.form-group
input.wekan-form-control#custom-help-link-url(type="text", placeholder="" value="{{currentSetting.customHelpLinkUrl}}")
li.layout-form
.title {{_ 'text-below-custom-login-logo'}}
.form-group

View file

@ -189,6 +189,9 @@ BlazeComponent.extendComponent({
const customLoginLogoLinkUrl = $('#custom-login-logo-link-url')
.val()
.trim();
const customHelpLinkUrl = $('#custom-help-link-url')
.val()
.trim();
const textBelowCustomLoginLogo = $('#text-below-custom-login-logo')
.val()
.trim();
@ -240,6 +243,7 @@ BlazeComponent.extendComponent({
hideLogo: hideLogoChange,
customLoginLogoImageUrl,
customLoginLogoLinkUrl,
customHelpLinkUrl,
textBelowCustomLoginLogo,
customTopLeftCornerLogoImageUrl,
customTopLeftCornerLogoLinkUrl,