|
|
|
@ -85,6 +85,12 @@ BlazeComponent.extendComponent({ |
|
|
|
|
toggleHideLogo() { |
|
|
|
|
$('#hide-logo').toggleClass('is-checked'); |
|
|
|
|
}, |
|
|
|
|
toggleHideCardCounterList() { |
|
|
|
|
$('#hide-card-counter-list').toggleClass('is-checked'); |
|
|
|
|
}, |
|
|
|
|
toggleHideBoardMemberList() { |
|
|
|
|
$('#hide-board-member-list').toggleClass('is-checked'); |
|
|
|
|
}, |
|
|
|
|
toggleDisplayAuthenticationMethod() { |
|
|
|
|
$('#display-authentication-method').toggleClass('is-checked'); |
|
|
|
|
}, |
|
|
|
@ -230,6 +236,8 @@ BlazeComponent.extendComponent({ |
|
|
|
|
.val() |
|
|
|
|
.trim(); |
|
|
|
|
const hideLogoChange = $('input[name=hideLogo]:checked').val() === 'true'; |
|
|
|
|
const hideCardCounterListChange = $('input[name=hideCardCounterList]:checked').val() === 'true'; |
|
|
|
|
const hideBoardMemberListChange = $('input[name=hideBoardMemberList]:checked').val() === 'true'; |
|
|
|
|
const displayAuthenticationMethod = |
|
|
|
|
$('input[name=displayAuthenticationMethod]:checked').val() === 'true'; |
|
|
|
|
const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val(); |
|
|
|
@ -241,6 +249,8 @@ BlazeComponent.extendComponent({ |
|
|
|
|
$set: { |
|
|
|
|
productName, |
|
|
|
|
hideLogo: hideLogoChange, |
|
|
|
|
hideCardCounterList: hideCardCounterListChange, |
|
|
|
|
hideBoardMemberList: hideBoardMemberListChange, |
|
|
|
|
customLoginLogoImageUrl, |
|
|
|
|
customLoginLogoLinkUrl, |
|
|
|
|
customHelpLinkUrl, |
|
|
|
@ -291,6 +301,8 @@ BlazeComponent.extendComponent({ |
|
|
|
|
'click button.js-save': this.saveMailServerInfo, |
|
|
|
|
'click button.js-send-smtp-test-email': this.sendSMTPTestEmail, |
|
|
|
|
'click a.js-toggle-hide-logo': this.toggleHideLogo, |
|
|
|
|
'click a.js-toggle-hide-card-counter-list': this.toggleHideCardCounterList, |
|
|
|
|
'click a.js-toggle-hide-board-member-list': this.toggleHideBoardMemberList, |
|
|
|
|
'click button.js-save-layout': this.saveLayout, |
|
|
|
|
'click a.js-toggle-display-authentication-method': this |
|
|
|
|
.toggleDisplayAuthenticationMethod, |
|
|
|
|