fix reprööted posts not being muted properly. fix muted posts making

desktop notifications
This commit is contained in:
Henry Jameson 2020-05-25 23:38:31 +03:00
parent cf3fbdd610
commit b5c1d074f8
5 changed files with 83 additions and 17 deletions

View file

@ -18,10 +18,26 @@
<template v-if="muted && !isPreview">
<div class="media status container muted">
<small>
<i
v-if="muted && retweet"
class="button-icon icon-retweet"
/>
<router-link :to="userProfileLink">
{{ status.user.screen_name }}
</router-link>
</small>
<small
v-if="showReasonMutedThread && muteWordHits.length === 0"
class="mutedThread"
>
{{ $t('status.thread_muted') }}
</small>
<small
v-if="showReasonMutedThread && muteWordHits.length > 0"
class="mutedThread"
>
{{ $t('status.thread_muted_and_words') }}
</small>
<small class="muteWords">{{ muteWordHits.join(', ') }}</small>
<a
href="#"
@ -642,7 +658,7 @@ $status-margin: 0.75em;
margin-left: auto;
}
.muteWords {
.mutedThread, .muteWords {
margin-left: 10px;
}
}