diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-10 03:55:33 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-10 03:55:33 +0900 |
| commit | 344fbe6bcd5c9d7477d93a605786da6f3b5a9ad1 (patch) | |
| tree | a647e1f02ab8c2d4d1606af9282417a99037c5a5 | |
| parent | Update CHANGELOG.md (diff) | |
| download | misskey-344fbe6bcd5c9d7477d93a605786da6f3b5a9ad1.tar.gz misskey-344fbe6bcd5c9d7477d93a605786da6f3b5a9ad1.tar.bz2 misskey-344fbe6bcd5c9d7477d93a605786da6f3b5a9ad1.zip | |
Note page title
| -rw-r--r-- | locales/ja-JP.yml | 1 | ||||
| -rw-r--r-- | src/client/pages/note.vue | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f11c946071..35ca4143ff 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -376,6 +376,7 @@ messagingWithGroup: "グループでチャット" enable: "有効にする" next: "次" retype: "再入力" +noteOf: "{user}のノート" _tutorial: title: "Misskeyの使い方" diff --git a/src/client/pages/note.vue b/src/client/pages/note.vue index e7cdf19f81..3e4e21d346 100644 --- a/src/client/pages/note.vue +++ b/src/client/pages/note.vue @@ -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"> |