1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 16:28:12 +09:00

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: "有効にする"
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">