mirror of https://github.com/xwiki-labs/cryptpad
add support for a home page notice via application_config.js
This commit is contained in:
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…
Reference in New Issue