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
parent a2541bb4e0
commit 55a840ba9d
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
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

@ -781,8 +781,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",