Make position of other replies button a pref

This commit is contained in:
Tusooa Zhu 2021-09-05 16:35:47 -04:00
parent c4bd004cbc
commit 863255d52f
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
8 changed files with 63 additions and 17 deletions

View file

@ -346,7 +346,20 @@
v-if="inConversation && !isPreview && replies && replies.length"
class="replies"
>
<span class="faint">{{ $t('status.replies_list') }}</span>
<button
v-if="showOtherRepliesAsButton"
class="button-unstyled -link faint"
:title="$tc('status.ancestor_follow', replies.length - 1, { numReplies: replies.length - 1 })"
@click.prevent="dive"
>
{{ $t('status.replies_list') }}
</button>
<span
v-else
class="faint"
>
{{ $t('status.replies_list') }}
</span>
<StatusPopover
v-for="reply in replies"
:key="reply.id"