mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 03:40:25 +01:00
Mod: システムアカウントのプロフィールページにシステムアカウントであることを表示してみた
This commit is contained in:
parent
10b3458cda
commit
b9156fddbe
1 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</MkA>
|
</MkA>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="['instance.actor', 'relay.actor', 'proxy.actor'].includes(user.username)" class="isSystemAccount">
|
||||||
|
<MkInfo>{{ i18n.ts.isSystemAccount }}</MkInfo>
|
||||||
|
</div>
|
||||||
<div v-if="iAmModerator" class="moderationNote">
|
<div v-if="iAmModerator" class="moderationNote">
|
||||||
<MkTextarea v-if="editModerationNote || (moderationNote != null && moderationNote !== '')" v-model="moderationNote" manualSave>
|
<MkTextarea v-if="editModerationNote || (moderationNote != null && moderationNote !== '')" v-model="moderationNote" manualSave>
|
||||||
<template #label>{{ i18n.ts.moderationNote }}</template>
|
<template #label>{{ i18n.ts.moderationNote }}</template>
|
||||||
|
@ -485,6 +488,10 @@ onUnmounted(() => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .isSystemAccount {
|
||||||
|
padding: 24px 24px 0 154px;
|
||||||
|
}
|
||||||
|
|
||||||
> .roles {
|
> .roles {
|
||||||
padding: 24px 24px 0 154px;
|
padding: 24px 24px 0 154px;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
|
|
Loading…
Reference in a new issue