From e46b4582f24d570533e3deac2a207ee0da8ccc7d Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 11 Aug 2024 11:21:23 -0400 Subject: [dynamic] Fix the "reply" button on comments --- jakob/utils/comments.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'jakob') diff --git a/jakob/utils/comments.scm b/jakob/utils/comments.scm index 4ec3718..966d2dc 100644 --- a/jakob/utils/comments.scm +++ b/jakob/utils/comments.scm @@ -148,10 +148,17 @@ The I2P logo belongs to The I2P Project, and is licensed under the CC BY 4.0") `(li ,(format #f "~a (~a)" emote count)))) (comment-reactions comment))) ,(when (internal-comment? comment) - `(p (a (@ (class "comment-reply-button") + `(p (@ (class "comment-additional-actions") + (hidden #t)) + (a (@ (class "comment-reply-button") (href "#webmention-form") (data-reply-to-id ,(internal-comment-id comment))) - "reply"))) + "reply") + " - " + (a (@ (class "comment-react-button") + (href "#webmention-form") + (data-reply-to-id ,(internal-comment-id comment))) + "react"))) ,(when (and (internal-comment? comment) (positive? (length (internal-comment-replies comment)))) `(ul (@ (class "webmention-container")) -- cgit v1.3