aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorAlexander Tumin <iamtakingiteasy@eientei.org>2024-10-07 13:39:36 +0300
committerAlexander Tumin <iamtakingiteasy@eientei.org>2024-10-07 13:39:41 +0300
commitbbef4e40dffd012dafed71e6efff5c05e7308c3e (patch)
tree4cd4b9e7f74b5e764ccadc3b768f3b616bfbb7b6 /src/components/status/status.vue
parentbb0a7a81c5c5e9947471ccffff629af9ee6d6185 (diff)
Fix whitespaces for multiple status mute reasons, display bot status reason
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 61a58cda..7fef69df 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -37,16 +37,23 @@
{{ $t('status.sensitive_muted') }}
</small>
<small
- v-if="showReasonMutedThread"
+ v-if="muteBotStatuses && botStatus"
class="mute-thread"
>
- {{ $t('status.thread_muted') }}
+ {{ $t('status.bot_muted') }}
</small>
<small
- v-if="showReasonMutedThread && muteWordHits.length > 0"
+ v-if="showReasonMutedThread"
class="mute-thread"
>
- {{ $t('status.thread_muted_and_words') }}
+ <span>
+ {{ $t('status.thread_muted') }}
+ </span>
+ <span
+ v-if="muteWordHits.length > 0"
+ >
+ {{ $t('status.thread_muted_and_words') }}
+ </span>
</small>
<small
class="mute-words"