show "blocking you" indicator to instance staff only

This commit is contained in:
Hazelnoot 2024-10-10 10:11:03 -04:00
parent 523ad3d60c
commit a7076ed3e0
4 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,7 @@ defaultValueIs: "Default: {value}"
noCustomEmojis: "There are no emoji"
noJobs: "There are no jobs"
federating: "Federating"
blockingYou: "Blocking you"
blocked: "Blocked"
blockedByBase: "This host is blocked implicitly because a base domain is blocked. To unblock this host, first unblock the base domain(s)."
silencedByBase: "This host is silenced implicitly because a base domain is silenced. To un-silence this host, first un-silence the base domain(s)."

4
locales/index.d.ts vendored
View File

@ -1100,6 +1100,10 @@ export interface Locale extends ILocale {
*
*/
"federating": string;
/**
* Blocking you
*/
"blockingYou": string;
/**
*
*/

View File

@ -271,6 +271,7 @@ defaultValueIs: "デフォルト: {value}"
noCustomEmojis: "絵文字はありません"
noJobs: "ジョブはありません"
federating: "連合中"
blockingYou: "Blocking you"
blocked: "ブロック中"
blockedByBase: "This host is blocked implicitly because a base domain is blocked. To unblock this host, first unblock the base domain(s)."
silencedByBase: "This host is silenced implicitly because a base domain is silenced. To un-silence this host, first un-silence the base domain(s)."

View File

@ -37,6 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<li v-if="user.isMuted">{{ i18n.ts.muted }}</li>
<li v-if="user.isRenoteMuted">{{ i18n.ts.renoteMuted }}</li>
<li v-if="user.isBlocking">{{ i18n.ts.blocked }}</li>
<li v-if="user.isBlocked && $i.isModerator">{{ i18n.ts.blockingYou }}</li>
</ul>
<div class="actions">
<button class="menu _button" @click="menu"><i class="ti ti-dots"></i></button>