From 4db5b8262430c8333c5ac11c0bf9e3fe90f624a1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 13 Sep 2016 19:03:40 +0300 Subject: fix reply template in tree mode --- juick-www/src/main/java/com/juick/www/UserThread.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'juick-www') diff --git a/juick-www/src/main/java/com/juick/www/UserThread.java b/juick-www/src/main/java/com/juick/www/UserThread.java index 8325cf53..beb08726 100644 --- a/juick-www/src/main/java/com/juick/www/UserThread.java +++ b/juick-www/src/main/java/com/juick/www/UserThread.java @@ -294,11 +294,15 @@ public class UserThread { if (msg.AttachmentType != null) { out.println("
\"\"/
"); } + out.print("
/" + msg.getRID()); + if (msg.ReplyTo > 0) { + out.print(" в ответ на /" + msg.ReplyTo + ""); + } if (msg.VisitorCanComment) { - out.println("
Ответить
"); + out.println(" · Ответить
"); out.println("
"); } else if (visitor == null) { - out.println("
Ответить
"); + out.println(" · Ответить"); } int childs = msg.getChildsCount(); -- cgit v1.2.3