add support for a home page notice via application_config.js

pull/1/head
ansuz 4 years ago
parent 1328da4e93
commit e03b3b751a

@ -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(),

Loading…
Cancel
Save