mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 16:03:08 +02:00
投稿のレンダリングを改善
This commit is contained in:
parent
73bd877993
commit
8c46e5b3d9
1 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,12 @@ export default function(note: INote) {
|
||||||
if (note.poll != null) {
|
if (note.poll != null) {
|
||||||
const url = `${config.url}/notes/${note._id}`;
|
const url = `${config.url}/notes/${note._id}`;
|
||||||
// TODO: i18n
|
// TODO: i18n
|
||||||
html += `<p>【投票】<br />${url}</p>`;
|
html += `<p><a href="${url}">【Misskeyで投票を見る】</a></p>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (note.renoteId != null) {
|
||||||
|
const url = `${config.url}/notes/${note.renoteId}`;
|
||||||
|
html += `<p>RE: <a href="${url}">${url}</a></p>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
|
|
Loading…
Reference in a new issue