diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/message.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html index 6babe203..33f0f5c6 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html @@ -27,34 +27,34 @@ <nav class="l"> {% if visitor.uid == msg.user.uid %} <a href="/{{ msg.mid }}" class="a-like msg-button"> - <span> + <span class="msg-button-icon"> <i data-icon="ei-heart" data-size="s"></i> - {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} + {% if msg.Likes > 0 %} {{ msg.Likes }}{% endif %} </span> <span> {{ i18n("messages","message.recommend") }}</span> </a> {% elseif visitor.uid > 0 %} <a href="/post?body=!+%23{{ msg.mid }}" class="a-like msg-button"> - <span> + <span class="msg-button-icon"> <i data-icon="ei-heart" data-size="s"></i> - {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} + {% if msg.Likes > 0 %} {{ msg.Likes }}{% endif %} </span> <span> {{ i18n("messages","message.recommend") }}</span> </a> {% else %} <a href="/login" class="a-login msg-button"> - <span> + <span class="msg-button-icon"> <i data-icon="ei-heart" data-size="s"></i> - {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} + {% if msg.Likes > 0 %} {{ msg.Likes }}{% endif %} </span> <span> {{ i18n("messages","message.recommend") }}</span> </a> {% endif %} {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} <a href="/{{ msg.mid }}" class="a-comment msg-button"> - <span> + <span class="msg-button-icon"> <i data-icon="ei-comment" data-size="s"></i> - {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} + {% if msg.Replies > 0 %} {{ msg.Replies }}{% endif %} </span> <span> {{ i18n("messages","message.comment") }}</span> </a> @@ -64,9 +64,9 @@ </a> {% elseif visitor.uid == 0 and not msg.ReadOnly %} <a href="/login" class="a-login msg-button"> - <span> + <span class="msg-button-icon"> <i data-icon="ei-comment" data-size="s"></i> - {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} + {% if msg.Replies > 0 %} {{ msg.Replies }}{% endif %} </span> <span> {{ i18n("messages","message.comment") }}</span> </a> |