add channel federation warn

This commit is contained in:
Freeplay 2023-05-28 20:31:00 -04:00
parent 73cccc2e2b
commit 02f2470791
3 changed files with 6 additions and 0 deletions

View file

@ -685,6 +685,7 @@ logs: "Logs"
delayed: "Delayed" delayed: "Delayed"
database: "Database" database: "Database"
channel: "Channels" channel: "Channels"
channelFederationWarn: "Channels do not yet federate to other servers"
create: "Create" create: "Create"
notificationSetting: "Notification settings" notificationSetting: "Notification settings"
notificationSettingDesc: "Select the types of notification to display." notificationSettingDesc: "Select the types of notification to display."

View file

@ -7,6 +7,7 @@
:tabs="headerTabs" :tabs="headerTabs"
/></template> /></template>
<MkSpacer :content-max="700"> <MkSpacer :content-max="700">
<MkInfo class="_gap" :warn="true">{{ i18n.ts.channelFederationWarn }}</MkInfo>
<swiper <swiper
:round-lengths="true" :round-lengths="true"
:touch-angle="25" :touch-angle="25"
@ -119,6 +120,7 @@ import MkInput from "@/components/form/input.vue";
import MkRadios from "@/components/form/radios.vue"; import MkRadios from "@/components/form/radios.vue";
import MkButton from "@/components/MkButton.vue"; import MkButton from "@/components/MkButton.vue";
import MkFolder from "@/components/MkFolder.vue"; import MkFolder from "@/components/MkFolder.vue";
import MkInfo from "@/components/MkInfo.vue";
import { useRouter } from "@/router"; import { useRouter } from "@/router";
import { definePageMetadata } from "@/scripts/page-metadata"; import { definePageMetadata } from "@/scripts/page-metadata";
import { deviceKind } from "@/scripts/device-kind"; import { deviceKind } from "@/scripts/device-kind";

View file

@ -298,6 +298,9 @@ hr {
._gap { ._gap {
margin: var(--margin) 0; margin: var(--margin) 0;
&:first-child {
margin-top: 0;
}
} }
// TODO: 廃止 // TODO: 廃止