mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 04:33:09 +02:00
Note page title
This commit is contained in:
parent
afb8cd2dc1
commit
344fbe6bcd
2 changed files with 4 additions and 0 deletions
|
@ -376,6 +376,7 @@ messagingWithGroup: "グループでチャット"
|
||||||
enable: "有効にする"
|
enable: "有効にする"
|
||||||
next: "次"
|
next: "次"
|
||||||
retype: "再入力"
|
retype: "再入力"
|
||||||
|
noteOf: "{user}のノート"
|
||||||
|
|
||||||
_tutorial:
|
_tutorial:
|
||||||
title: "Misskeyの使い方"
|
title: "Misskeyの使い方"
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-note-page">
|
<div class="mk-note-page">
|
||||||
|
<portal to="avatar" v-if="note"><mk-avatar class="avatar" :user="note.user" :disable-preview="true"/></portal>
|
||||||
|
<portal to="title" v-if="note">{{ $t('noteOf', { user: note.user.name }) }}</portal>
|
||||||
|
|
||||||
<transition name="zoom" mode="out-in">
|
<transition name="zoom" mode="out-in">
|
||||||
<x-note v-if="note" :note="note" :key="note.id" :detail="true"/>
|
<x-note v-if="note" :note="note" :key="note.id" :detail="true"/>
|
||||||
<div v-else-if="error">
|
<div v-else-if="error">
|
||||||
|
|
Loading…
Reference in a new issue