Skip to content

Commit

Permalink
Mod: システムアカウントのプロフィールページにシステムアカウントであることを表示してみた
Browse files Browse the repository at this point in the history
  • Loading branch information
sakuhanight committed Nov 22, 2024
1 parent 10b3458 commit b9156fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/frontend/src/pages/user/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkA>
</span>
</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">
<MkTextarea v-if="editModerationNote || (moderationNote != null && moderationNote !== '')" v-model="moderationNote" manualSave>
<template #label>{{ i18n.ts.moderationNote }}</template>
Expand Down Expand Up @@ -485,6 +488,10 @@ onUnmounted(() => {
}
}

> .isSystemAccount {
padding: 24px 24px 0 154px;
}

> .roles {
padding: 24px 24px 0 154px;
font-size: 0.95em;
Expand Down

0 comments on commit b9156fd

Please sign in to comment.