Note page title

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

View file

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

View file

@ -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">