forked from AkkomaGang/akkoma-fe
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:
commit
d85d9c26b1
2 changed files with 2 additions and 11 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue