Note page title

This commit is contained in:
syuilo 2020-02-10 03:55:33 +09:00
parent b69a6724d4
commit 14925f8727
2 changed files with 4 additions and 0 deletions

View file

@ -376,6 +376,7 @@ messagingWithGroup: "グループでチャット"
enable: "有効にする"
next: "次"
retype: "再入力"
noteOf: "{user}のノート"
_tutorial:
title: "Misskeyの使い方"

View file

@ -1,5 +1,8 @@
<template>
<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">
<x-note v-if="note" :note="note" :key="note.id" :detail="true"/>
<div v-else-if="error">