From 59f859ef2be466a1a2d593930647bb6f2b2ce9ca Mon Sep 17 00:00:00 2001 From: undefined Date: Sat, 20 Apr 2024 14:21:02 +0800 Subject: [PATCH] ui: problem_solution: optional copy link --- .../templates/components/comments_solution.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/ui-default/templates/components/comments_solution.html b/packages/ui-default/templates/components/comments_solution.html index 2e41b7fc1..aa0d4203d 100644 --- a/packages/ui-default/templates/components/comments_solution.html +++ b/packages/ui-default/templates/components/comments_solution.html @@ -102,9 +102,11 @@ {{ user.render_inline(udoc) }} @ {{ datetimeSpan(doc._id)|safe }}
- - - + {% if pdoc %} + + + + {% endif %} {% if handler.user.hasPerm(reply_post_perm) %}