diff options
author | Vitaly Takmazov | 2018-01-19 14:43:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-01-19 14:43:37 +0300 |
commit | 0f2fb99be6c76f0faff093297b78535d76aa5745 (patch) | |
tree | e8a3c68b455089130e8b1e2dab60433939c8ce70 /juick-www/src/main/webapp/WEB-INF/views | |
parent | d21cb35f1bb3a0b1a2ba7b91a1a9364885806809 (diff) |
www: msg-button-icon
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/message.html | 20 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/thread.html | 12 |
2 files changed, 16 insertions, 16 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> diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html index 685115be..00f889c9 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -34,25 +34,25 @@ <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> |