aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-01 23:14:16 +0300
committerGravatar Vitaly Takmazov2016-12-01 23:23:10 +0300
commita797587800b68821a810fa3d833352dc272d42f7 (patch)
tree75bdd94be017b7c5adcf4551f717a7a872e81816 /juick-www/src/main
parent8b29dc19a288cf50246af0a3834d45e07da51642 (diff)
juick-server: fix serialization, vNext
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/java/com/juick/www/PageTemplates.java4
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>&nbsp;" + 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>&nbsp;" + 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>&nbsp;" + msg.getReplies() + "</a>");