diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-01-06 11:01:38 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-01-06 11:01:38 +0200 |
commit | ddce0ada094e6450be260b4cda21fdfa09ae0133 (patch) | |
tree | c6a079713ab28ab9c7a779f2e43d9b46673d2b4f /client/components/settings | |
parent | 60df1fa1ee7aeaf0132c460d98e069e874603908 (diff) | |
download | wekan-ddce0ada094e6450be260b4cda21fdfa09ae0133.tar.gz wekan-ddce0ada094e6450be260b4cda21fdfa09ae0133.tar.bz2 wekan-ddce0ada094e6450be260b4cda21fdfa09ae0133.zip |
Removed Custom HTML feature that does not work.
Thanks to xet7 !
Closes #2218
Diffstat (limited to 'client/components/settings')
-rw-r--r-- | client/components/settings/settingBody.jade | 6 | ||||
-rw-r--r-- | client/components/settings/settingBody.js | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/client/components/settings/settingBody.jade b/client/components/settings/settingBody.jade index 877fe6e2..835a3b81 100644 --- a/client/components/settings/settingBody.jade +++ b/client/components/settings/settingBody.jade @@ -184,12 +184,6 @@ template(name='layoutSettings') .title {{_ 'custom-product-name'}} .form-group input.wekan-form-control#product-name(type="text", placeholder="" value="{{currentSetting.productName}}") - li.layout-form - .title {{_ 'add-custom-html-after-body-start'}} - textarea#customHTMLafterBodyStart.wekan-form-control= currentSetting.customHTMLafterBodyStart - li.layout-form - .title {{_ 'add-custom-html-before-body-end'}} - textarea#customHTMLbeforeBodyEnd.wekan-form-control= currentSetting.customHTMLbeforeBodyEnd li button.js-save-layout.primary {{_ 'save'}} diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js index 4ff5aedd..319c066b 100644 --- a/client/components/settings/settingBody.js +++ b/client/components/settings/settingBody.js @@ -171,20 +171,12 @@ BlazeComponent.extendComponent({ const displayAuthenticationMethod = $('input[name=displayAuthenticationMethod]:checked').val() === 'true'; const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val(); - const customHTMLafterBodyStart = $('#customHTMLafterBodyStart') - .val() - .trim(); - const customHTMLbeforeBodyEnd = $('#customHTMLbeforeBodyEnd') - .val() - .trim(); try { Settings.update(Settings.findOne()._id, { $set: { productName, hideLogo: hideLogoChange, - customHTMLafterBodyStart, - customHTMLbeforeBodyEnd, displayAuthenticationMethod, defaultAuthenticationMethod, }, |