diff options
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/boards/boardBody.jade | 2 | ||||
-rw-r--r-- | client/components/settings/settingBody.jade | 6 | ||||
-rw-r--r-- | client/components/settings/settingBody.js | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/client/components/boards/boardBody.jade b/client/components/boards/boardBody.jade index 9e4b9c61..4631f999 100644 --- a/client/components/boards/boardBody.jade +++ b/client/components/boards/boardBody.jade @@ -12,6 +12,7 @@ template(name="board") +spinner template(name="boardBody") + | {{currentSetting.customHTMLafterBodyStart}} .board-wrapper(class=currentBoard.colorClass) +sidebar .board-canvas.js-swimlanes.js-perfect-scrollbar( @@ -27,6 +28,7 @@ template(name="boardBody") +listsGroup if isViewCalendar +calendarView + | {{currentSetting.customHTMLbeforeBodyEnd}} template(name="calendarView") .calendar-view.swimlane diff --git a/client/components/settings/settingBody.jade b/client/components/settings/settingBody.jade index bc6e0f50..153649fc 100644 --- a/client/components/settings/settingBody.jade +++ b/client/components/settings/settingBody.jade @@ -145,5 +145,11 @@ template(name='layoutSettings') .title {{_ 'custom-product-name'}} .form-group input.form-control#product-name(type="text", placeholder="Wekan" value="{{currentSetting.productName}}") + li.layout-form + .title {{_ 'add-custom-html-after-body-start'}} + textarea#customHTMLafterBodyStart.form-control= currentSetting.customHTMLafterBodyStart + li.layout-form + .title {{_ 'add-custom-html-before-body-end'}} + textarea#customHTMLbeforeBodyEnd.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 ba5b4f47..4f07c84c 100644 --- a/client/components/settings/settingBody.js +++ b/client/components/settings/settingBody.js @@ -140,6 +140,8 @@ BlazeComponent.extendComponent({ const productName = $('#product-name').val().trim(); const hideLogoChange = ($('input[name=hideLogo]:checked').val() === 'true'); + const customHTMLafterBodyStart = $('#customHTMLafterBodyStart').val().trim(); + const customHTMLbeforeBodyEnd = $('#customHTMLbeforeBodyEnd').val().trim(); try { @@ -147,6 +149,8 @@ BlazeComponent.extendComponent({ $set: { productName, hideLogo: hideLogoChange, + customHTMLafterBodyStart, + customHTMLbeforeBodyEnd, }, }); } catch (e) { |