diff options
| author | Henry Jameson <me@hjkos.com> | 2020-05-25 23:38:31 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-05-25 23:38:31 +0300 |
| commit | b5c1d074f83d08473a19a3885f6ff5eeb95274e5 (patch) | |
| tree | f505bbf5e1c57fcccaba7efbdaf3b2ed85f516a7 /src/components/status/status.vue | |
| parent | cf3fbdd61096d3e51c09179474f383f8351a33cb (diff) | |
fix reprööted posts not being muted properly. fix muted posts making
desktop notifications
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index e4c7545b..1c287aa7 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -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; } } |
