|
|
|
@ -12,11 +12,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
<img :src="instance.iconUrl || '/favicon.ico'" alt="" class="icon"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<MkInfo v-if="thereIsUnresolvedAbuseReport" warn class="info">{{ i18n.ts.thereIsUnresolvedAbuseReportWarning }} <MkA to="/admin/abuses" class="_link">{{ i18n.ts.check }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noMaintainerInformation" warn class="info">{{ i18n.ts.noMaintainerInformationWarning }} <MkA to="/admin/settings" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noBotProtection" warn class="info">{{ i18n.ts.noBotProtectionWarning }} <MkA to="/admin/security" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noEmailServer" warn class="info">{{ i18n.ts.noEmailServerWarning }} <MkA to="/admin/email-settings" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="pendingUserApprovals" warn class="info">{{ i18n.ts.pendingUserApprovals }} <MkA to="/admin/approvals" class="_link">{{ i18n.ts.check }}</MkA></MkInfo>
|
|
|
|
|
<div class="_gaps_s">
|
|
|
|
|
<MkInfo v-if="thereIsUnresolvedAbuseReport" warn class="info">{{ i18n.ts.thereIsUnresolvedAbuseReportWarning }} <MkA to="/admin/abuses" class="_link">{{ i18n.ts.check }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noMaintainerInformation" warn class="info">{{ i18n.ts.noMaintainerInformationWarning }} <MkA to="/admin/settings" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noInquiryUrl" warn>{{ i18n.ts.noInquiryUrlWarning }} <MkA to="/admin/moderation" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noBotProtection" warn class="info">{{ i18n.ts.noBotProtectionWarning }} <MkA to="/admin/security" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="noEmailServer" warn class="info">{{ i18n.ts.noEmailServerWarning }} <MkA to="/admin/email-settings" class="_link">{{ i18n.ts.configure }}</MkA></MkInfo>
|
|
|
|
|
<MkInfo v-if="pendingUserApprovals" warn class="info">{{ i18n.ts.pendingUserApprovals }} <MkA to="/admin/approvals" class="_link">{{ i18n.ts.check }}</MkA></MkInfo>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<MkSuperMenu :def="menuDef" :grid="narrow"></MkSuperMenu>
|
|
|
|
|
</div>
|
|
|
|
@ -62,6 +65,7 @@ const pageProps = ref({});
|
|
|
|
|
let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail);
|
|
|
|
|
let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha && !instance.enableMcaptcha && !instance.enableTurnstile;
|
|
|
|
|
let noEmailServer = !instance.enableEmail;
|
|
|
|
|
let noInquiryUrl = isEmpty(instance.inquiryUrl);
|
|
|
|
|
const thereIsUnresolvedAbuseReport = ref(false);
|
|
|
|
|
const pendingUserApprovals = ref(false);
|
|
|
|
|
const currentPage = computed(() => router.currentRef.value.child);
|
|
|
|
@ -363,10 +367,6 @@ defineExpose({
|
|
|
|
|
|
|
|
|
|
> .nav {
|
|
|
|
|
.lxpfedzu {
|
|
|
|
|
> .info {
|
|
|
|
|
margin: 16px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .banner {
|
|
|
|
|
margin: 16px;
|
|
|
|
|
|
|
|
|
|