mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
replace This note is hidden with CW content
This commit is contained in:
parent
66a0f59b6a
commit
de28d40af5
2 changed files with 2 additions and 3 deletions
|
@ -1127,7 +1127,6 @@ removeQuote: "Remove quote"
|
||||||
removeRecipient: "Remove recipient"
|
removeRecipient: "Remove recipient"
|
||||||
removeMember: "Remove member"
|
removeMember: "Remove member"
|
||||||
verifiedLink: "Verified link"
|
verifiedLink: "Verified link"
|
||||||
noteHidden: "This note is hidden"
|
|
||||||
|
|
||||||
_sensitiveMediaDetection:
|
_sensitiveMediaDetection:
|
||||||
description: "Reduces the effort of server moderation through automatically recognizing
|
description: "Reduces the effort of server moderation through automatically recognizing
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<i class="ph-lock ph-bold"></i>
|
<i class="ph-lock ph-bold"></i>
|
||||||
</span>
|
</span>
|
||||||
<Mfm
|
<Mfm
|
||||||
v-if="note.cw != ''"
|
v-if="note.cw != '' && showContent"
|
||||||
class="text"
|
class="text"
|
||||||
:text="note.cw"
|
:text="note.cw"
|
||||||
:author="note.user"
|
:author="note.user"
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
v-model="collapsed"
|
v-model="collapsed"
|
||||||
v-on:keydown="focusFooter"
|
v-on:keydown="focusFooter"
|
||||||
></XShowMoreButton>
|
></XShowMoreButton>
|
||||||
<span v-if="note.cw && !showContent" class="hiddenNote">{{ i18n.ts.noteHidden }}</span>
|
<Mfm v-if="note.cw && !showContent" class="hiddenNote" :text="note.cw" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
|
||||||
<XCwButton
|
<XCwButton
|
||||||
ref="cwButton"
|
ref="cwButton"
|
||||||
v-if="note.cw && !showContent"
|
v-if="note.cw && !showContent"
|
||||||
|
|
Loading…
Reference in a new issue