add back note-context wrapper
This commit is contained in:
parent
9e974161de
commit
fad4692e01
@ -10,24 +10,27 @@
|
|||||||
:class="{ renote: isRenote }"
|
:class="{ renote: isRenote }"
|
||||||
>
|
>
|
||||||
<MkNoteSub v-if="appearNote.reply" :note="appearNote.reply" class="reply-to"/>
|
<MkNoteSub v-if="appearNote.reply" :note="appearNote.reply" class="reply-to"/>
|
||||||
<div v-if="pinned" class="info"><i class="ph-push-pin-bold ph-lg"></i> {{ i18n.ts.pinnedNote }}</div>
|
<div class="note-context">
|
||||||
<div v-if="appearNote._prId_" class="info"><i class="ph-megaphone-simple-bold ph-lg"></i> {{ i18n.ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ i18n.ts.hideThisNote }} <i class="ph-x-bold ph-lg"></i></button></div>
|
<div class="line"></div>
|
||||||
<div v-if="appearNote._featuredId_" class="info"><i class="ph-lightning-bold ph-lg"></i> {{ i18n.ts.featured }}</div>
|
<div v-if="appearNote._prId_" class="info"><i class="ph-megaphone-simple-bold ph-lg"></i> {{ i18n.ts.promotion }}<button class="_textButton hide" @click="readPromo()">{{ i18n.ts.hideThisNote }} <i class="ph-x-bold ph-lg"></i></button></div>
|
||||||
<div v-if="isRenote" class="renote">
|
<div v-if="appearNote._featuredId_" class="info"><i class="ph-lightning-bold ph-lg"></i> {{ i18n.ts.featured }}</div>
|
||||||
<i class="ph-repeat-bold ph-lg"></i>
|
<div v-if="pinned" class="info"><i class="ph-push-pin-bold ph-lg"></i> {{ i18n.ts.pinnedNote }}</div>
|
||||||
<I18n :src="i18n.ts.renotedBy" tag="span">
|
<div v-if="isRenote" class="renote">
|
||||||
<template #user>
|
<i class="ph-repeat-bold ph-lg"></i>
|
||||||
<MkA v-user-preview="note.userId" class="name" :to="userPage(note.user)">
|
<I18n :src="i18n.ts.renotedBy" tag="span">
|
||||||
<MkUserName :user="note.user"/>
|
<template #user>
|
||||||
</MkA>
|
<MkA v-user-preview="note.userId" class="name" :to="userPage(note.user)">
|
||||||
</template>
|
<MkUserName :user="note.user"/>
|
||||||
</I18n>
|
</MkA>
|
||||||
<div class="info">
|
</template>
|
||||||
<button ref="renoteTime" class="_button time" @click="showRenoteMenu()">
|
</I18n>
|
||||||
<i v-if="isMyRenote" class="ph-dots-three-outline-bold ph-lg dropdownIcon"></i>
|
<div class="info">
|
||||||
<MkTime :time="note.createdAt"/>
|
<button ref="renoteTime" class="_button time" @click="showRenoteMenu()">
|
||||||
</button>
|
<i v-if="isMyRenote" class="ph-dots-three-outline-bold ph-lg dropdownIcon"></i>
|
||||||
<MkVisibility :note="note"/>
|
<MkTime :time="note.createdAt"/>
|
||||||
|
</button>
|
||||||
|
<MkVisibility :note="note"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<article class="article" @contextmenu.stop="onContextmenu" @click.self="router.push(notePage(appearNote))">
|
<article class="article" @contextmenu.stop="onContextmenu" @click.self="router.push(notePage(appearNote))">
|
||||||
|
Loading…
Reference in New Issue
Block a user