From f31d2abc237958bd9f33875f20198c4510389556 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 13 Jan 2025 20:37:34 +0000 Subject: implement replying to posts --- templates/note.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'templates/note.php') diff --git a/templates/note.php b/templates/note.php index fdc0dc8..3fc86ba 100644 --- a/templates/note.php +++ b/templates/note.php @@ -27,17 +27,28 @@ if ($user != null) { ?> + inReplyTo)): ?> +
+ + ' . $note->inReplyTo->author->displayName) . '' ?> + +
+
getFormattedContent('text/html') ?? htmlspecialchars($note->plainContent) ?>
$action, 'note' => $note, 'active' => in_array(InteractionKind::from($action), $interKinds) ]); - } ?> + } + call_template('reply_button', ['note' => $note]); + ?>
+ $note]); ?> \ No newline at end of file -- cgit v1.3