Merge disabled boost and quote buttons on private posts

This commit is contained in:
Sol Fisher Romanoff 2022-07-25 21:44:38 +03:00 committed by Sam Therapy
parent a184a562f7
commit 0468aad584
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 2 additions and 11 deletions

View File

@ -1,10 +1,9 @@
<template>
<div
v-if="loggedIn"
v-if="(visibility === 'public' || visibility === 'unlisted') && loggedIn"
class="QuoteButton"
>
<button
v-if="visibility === 'public' || visibility === 'unlisted'"
class="button-unstyled interactive"
:class="{'-active': quoting}"
:title="$t('tool_tip.quote')"
@ -15,13 +14,6 @@
icon="quote-left"
/>
</button>
<span v-else-if="loggedIn">
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="lock"
:title="$t('timeline.no_quote_hint')"
/>
</span>
</div>
</template>

View File

@ -865,8 +865,7 @@
"conversation": "Conversation",
"error": "Error fetching timeline: {0}",
"load_older": "Load older statuses",
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
"no_quote_hint": "Post is marked as followers-only or direct and cannot be quoted",
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated or quoted",
"repeated": "repeated",
"show_new": "Show new",
"reload": "Reload",