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

View file

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