Display account info of post rather than 'Post' in header
This commit is contained in:
parent
d505b596a4
commit
72a40b3139
1 changed files with 4 additions and 2 deletions
|
@ -26,6 +26,7 @@
|
||||||
v-if="!showNext && hasNext"
|
v-if="!showNext && hasNext"
|
||||||
class="load next"
|
class="load next"
|
||||||
@click="showNext = true"
|
@click="showNext = true"
|
||||||
|
v-tooltip="i18n.ts.loadMore"
|
||||||
><i class="ph-caret-up ph-bold ph-lg"></i
|
><i class="ph-caret-up ph-bold ph-lg"></i
|
||||||
></MkButton>
|
></MkButton>
|
||||||
<div class="note _gap">
|
<div class="note _gap">
|
||||||
|
@ -74,6 +75,7 @@
|
||||||
v-if="!showPrev && hasPrev"
|
v-if="!showPrev && hasPrev"
|
||||||
class="load prev"
|
class="load prev"
|
||||||
@click="showPrev = true"
|
@click="showPrev = true"
|
||||||
|
v-tooltip="i18n.ts.loadMore"
|
||||||
><i class="ph-caret-down ph-bold ph-lg"></i
|
><i class="ph-caret-down ph-bold ph-lg"></i
|
||||||
></MkButton>
|
></MkButton>
|
||||||
</div>
|
</div>
|
||||||
|
@ -193,8 +195,8 @@ definePageMetadata(
|
||||||
computed(() =>
|
computed(() =>
|
||||||
note
|
note
|
||||||
? {
|
? {
|
||||||
title: i18n.ts.note,
|
title: note.user.name,
|
||||||
subtitle: new Date(note.createdAt).toLocaleString(),
|
subtitle: `@${note.user.username}@${note.user.host}`,
|
||||||
avatar: note.user,
|
avatar: note.user,
|
||||||
path: `/notes/${note.id}`,
|
path: `/notes/${note.id}`,
|
||||||
share: {
|
share: {
|
||||||
|
|
Loading…
Reference in a new issue