mirror of
https://github.com/wekan/wekan.git
synced 2026-01-28 20:26:09 +01:00
- Admin Panel / Layout / Custom HTML after <body> start, and Custom HTML before </body> end.
In progress, does not work yet. Thanks to xet7 !
This commit is contained in:
parent
a42d9871bd
commit
f1ed6304a4
7 changed files with 48 additions and 2 deletions
|
|
@ -374,3 +374,27 @@ Migrations.add('add-hide-logo', () => {
|
|||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
||||
Migrations.add('add-custom-html-after-body-start', () => {
|
||||
Settings.update({
|
||||
customHTMLafterBodyStart: {
|
||||
$exists: false,
|
||||
},
|
||||
}, {
|
||||
$set: {
|
||||
customHTMLafterBodyStart:'',
|
||||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
||||
Migrations.add('add-custom-html-before-body-end', () => {
|
||||
Settings.update({
|
||||
customHTMLbeforeBodyEnd: {
|
||||
$exists: false,
|
||||
},
|
||||
}, {
|
||||
$set: {
|
||||
customHTMLbeforeBodyEnd:'',
|
||||
},
|
||||
}, noValidateMulti);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue