|
|
@ -8,7 +8,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
return function () {
|
|
|
|
return function () {
|
|
|
|
var adminEmail = Config.adminEmail && Config.adminEmail !== 'i.did.not.read.my.config@cryptpad.fr';
|
|
|
|
var adminEmail = Config.adminEmail && Config.adminEmail !== 'i.did.not.read.my.config@cryptpad.fr';
|
|
|
|
var adminMailbox = Config.supportMailbox;
|
|
|
|
var adminMailbox = Config.supportMailbox && LocalStore.isLoggedIn();
|
|
|
|
return h('div#cp-main', [
|
|
|
|
return h('div#cp-main', [
|
|
|
|
Pages.infopageTopbar(),
|
|
|
|
Pages.infopageTopbar(),
|
|
|
|
h('div.container.cp-container', [
|
|
|
|
h('div.container.cp-container', [
|
|
|
@ -34,7 +34,7 @@ define([
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
) : undefined,
|
|
|
|
) : undefined,
|
|
|
|
(adminMailbox && LocalStore.isLoggedIn()) ? h('div.col-12.col-sm-6.col-md-3.col-lg-3',
|
|
|
|
adminMailbox ? h('div.col-12.col-sm-6.col-md-3.col-lg-3',
|
|
|
|
h('a.card', {href : "/support/"},
|
|
|
|
h('a.card', {href : "/support/"},
|
|
|
|
h('div.card-body',
|
|
|
|
h('div.card-body',
|
|
|
|
h('p', [
|
|
|
|
h('p', [
|
|
|
|