diff options
author | 2016-12-13 23:32:00 +0300 | |
---|---|---|
committer | 2016-12-13 23:32:00 +0300 | |
commit | d1ba2ebe31f35c6cc97240ec357d3c98b9d0dde7 (patch) | |
tree | e237593ddeda1a3db047e87fee598db67c0f61e3 /juick-spring-www/src/main | |
parent | 29a503b1762bf201c5e1f4b48a447871dfc1dbb6 (diff) |
juick-spring-www: fix likes
Diffstat (limited to 'juick-spring-www/src/main')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html | 7 |
1 files changed, 5 insertions, 2 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"> 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"> 42</span> + </a> </nav> </article> </th:block>
\ No newline at end of file |