diff options
author | Vitaly Takmazov | 2016-12-01 23:14:16 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-01 23:23:10 +0300 |
commit | a797587800b68821a810fa3d833352dc272d42f7 (patch) | |
tree | 75bdd94be017b7c5adcf4551f717a7a872e81816 /juick-www/src/main/java/com/juick | |
parent | 8b29dc19a288cf50246af0a3834d45e07da51642 (diff) |
juick-server: fix serialization, vNext
Diffstat (limited to 'juick-www/src/main/java/com/juick')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/java/com/juick/www/PageTemplates.java b/juick-www/src/main/java/com/juick/www/PageTemplates.java index 685c81fe..1939b48f 100644 --- a/juick-www/src/main/java/com/juick/www/PageTemplates.java +++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java @@ -360,8 +360,8 @@ public class PageTemplates { out.println("</nav>"); out.print(" <nav class=\"s\">"); - if (msg.Likes > 0) { - out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"likes\"><i data-icon=\"ei-heart\" data-size=\"s\"></i> " + msg.Likes + "</a>"); + if (msg.getLikes() > 0) { + out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"likes\"><i data-icon=\"ei-heart\" data-size=\"s\"></i> " + msg.getLikes() + "</a>"); } if (msg.getReplies() > 0) { out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"replies\"><i data-icon=\"ei-comment\" data-size=\"s\"></i> " + msg.getReplies() + "</a>"); |