Merge pull request 'Merge disabled boost and quote buttons on private posts' (#63) from sfr/pleroma-fe:hide-quote-button into develop

Reviewed-on: AkkomaGang/pleroma-fe#63
This commit is contained in:
floatingghost 2022-07-26 13:22:09 +00:00
commit d85d9c26b1
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",