aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html7
-rw-r--r--juick-www/src/main/java/com/juick/www/PageTemplates.java2
2 files changed, 6 insertions, 3 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
index 2bf0e627..6fe0e4ff 100644
--- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html
@@ -41,9 +41,12 @@
</nav>
<nav class="s">
<a th:if="${msg.getLikes() > 0}" th:href="|/${msg.getUser().getName()}/${msg.getMid()}|"
- class="likes" th:text="${msg.getLikes()}">10</a>
+ class="likes"><i data-icon="ei-heart" data-size="s"></i>
+ <span th:text="${msg.getLikes()}" th:remove="tag">&nbsp;10</span></a>
<a th:if="${msg.getReplies() > 0}" th:href="|/${msg.getUser().getName()}/${msg.getMid()}|"
- class="replies" th:text="${msg.getReplies()}">42</a>
+ class="replies"><i data-icon="ei-heart" data-size="s"></i>
+ <span th:text="${msg.getReplies()}" th:remove="tag">&nbsp;42</span>
+ </a>
</nav>
</article>
</th:block> \ No newline at end of file
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 d0e41ae0..72d58e70 100644
--- a/juick-www/src/main/java/com/juick/www/PageTemplates.java
+++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java
@@ -364,7 +364,7 @@ public class PageTemplates {
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>");
+ out.print("<a href=\"/" + msg.getUser().getName() + "/" + msg.getMid() + "\" class=\"replies\"><i data-icon=\"ei-heart\" data-size=\"s\"></i>&nbsp;&nbsp;" + msg.getReplies() + "</a>");
}
out.println("</nav>");
out.print("</article>");