From cd334fb8161d2c364d72965473f7d6d729529546 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 24 Aug 2017 16:13:22 +0300 Subject: www: keywords --- juick-www/src/main/java/com/juick/www/controllers/UserThread.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'juick-www/src/main/java') diff --git a/juick-www/src/main/java/com/juick/www/controllers/UserThread.java b/juick-www/src/main/java/com/juick/www/controllers/UserThread.java index 780b2ed1..46ac485f 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/UserThread.java +++ b/juick-www/src/main/java/com/juick/www/controllers/UserThread.java @@ -16,6 +16,7 @@ */ package com.juick.www.controllers; +import com.juick.Tag; import com.juick.formatters.PlainTextFormatter; import com.juick.server.util.HttpForbiddenException; import com.juick.server.util.HttpNotFoundException; @@ -38,6 +39,7 @@ import javax.inject.Inject; import java.io.IOException; import java.util.ArrayList; import java.util.List; +import java.util.stream.Collectors; /** * @@ -123,6 +125,10 @@ public class UserThread { if (StringUtils.isNotEmpty(twitterName)) { headers += "\n"; } + if (msg.getTags().size() > 0) { + headers += "\n"; + } model.addAttribute("headers", headers); model.addAttribute("contentStyle", "margin-left: 0; width: 100%"); model.addAttribute("isModerator", visitor.getUid() == 3694); -- cgit v1.2.3