add support for a home page notice via application_config.js

This commit is contained in:
ansuz 2021-02-16 16:44:54 +05:30
parent 1328da4e93
commit e03b3b751a
1 changed files with 6 additions and 0 deletions

View File

@ -120,6 +120,11 @@ define([
])
];
var notice;
if (AppConfig.homeNotice) {
notice = h('div.alert.alert-info', h('span', AppConfig.homeNotice));
}
return [
h('div#cp-main', [
Pages.infopageTopbar(),
@ -138,6 +143,7 @@ define([
icons,
])
]),
notice,
blocks
]),
Pages.infopageFooter(),