Skip to content
Snippets Groups Projects
Commit 8c46e5b3 authored by syuilo's avatar syuilo
Browse files

投稿のレンダリングを改善

parent 73bd8779
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,12 @@ export default function(note: INote) {
if (note.poll != null) {
const url = `${config.url}/notes/${note._id}`;
// 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment