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 [ return [
h('div#cp-main', [ h('div#cp-main', [
Pages.infopageTopbar(), Pages.infopageTopbar(),
@ -138,6 +143,7 @@ define([
icons, icons,
]) ])
]), ]),
notice,
blocks blocks
]), ]),
Pages.infopageFooter(), Pages.infopageFooter(),

Loading…
Cancel
Save