diff options
author | Vitaly Takmazov | 2016-12-20 12:33:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-20 12:33:51 +0300 |
commit | 8b02f969d3a09e39557474eb90ec821d550e3b1b (patch) | |
tree | 21dcc4d441cb55f7f83daf38b75c25fac163b88e /juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial | |
parent | d2de0b9d8cd2ddc6edb24de9d52ee8ab533c7403 (diff) |
juick-spring-www: WIP
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/partial/blog_messages.html | 6 |
1 files changed, 3 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 3c7e4238..5d808f98 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 @@ -28,12 +28,12 @@ <nav class="l"> <th:block th:switch="${#authorization.expression('isAuthenticated()')}"> <a th:case="false" class="a-login" th:href="|/${msg.getMid()}/|" th:text="#{message.recommend}">Recommend</a> - <a th:case="true" class="a-like" th:href="|/post?body=!+%23${msg.getMid()}/|" th:text="#{message.comment}">Comment</a> + <a th:case="true" class="a-like" th:href="|/post?body=!+%23${msg.getMid()}/|" th:text="#{message.recommend}">Recommend</a> </th:block> <a th:if="${#authorization.expression('isAuthenticated()') == false && !msg.ReadOnly}" class="a-login" th:href="|/${msg.getMid()}/|" th:text="#{message.comment}">Comment</a> <a th:if="${#authorization.expression('isAuthenticated()') == true && !msg.ReadOnly}" - class="a-comment" th:href="|/${msg.getMid()}/|" th:text="#{message.recommend}">Recommend</a> + class="a-comment" th:href="|/${msg.getMid()}/|" th:text="#{message.comment}">Comment</a> <th:block th:if="${#authorization.expression('hasRole(''ROLE_ADMIN'')')}"> <a href="#" class="a-popular-plus">+</a> @@ -46,7 +46,7 @@ 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"><i data-icon="ei-heart" data-size="s"></i> + class="replies"><i data-icon="ei-comment" data-size="s"></i> <span th:text="${msg.getReplies()}" th:remove="tag"> 42</span> </a> </nav> |