diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial/message.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/message.html | 14 |
1 files changed, 7 insertions, 7 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 2d0e3e97..ccbfe361 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,35 +27,35 @@ <nav class="l"> {% if visitor.uid == msg.user.uid %} <a href="/{{ msg.mid }}"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% elseif visitor.uid > 0 %} <a href="/post?body=!+%23{{ msg.mid }}" class="a-like"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% else %} <a href="/login" class="a-login"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% endif %} {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} <a href="/{{ msg.mid }}" class="a-comment"> - <i data-icon="ei-comment" data-size="s"></i> {{ i18n("messages","message.comment") }} + <i data-icon="ei-comment" data-size="s"></i><span> {{ i18n("messages","message.comment") }}</span> {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} </a> <a href="#" class="msg-menu"> - <i data-icon="ei-link" data-size="s"></i> {{ i18n("messages","message.share") }} + <i data-icon="ei-link" data-size="s"></i><span> {{ i18n("messages","message.share") }}</span> </a> {% elseif visitor.uid == 0 and not msg.ReadOnly %} <a href="/login" class="a-login"> - <i data-icon="ei-comment" data-size="s"></i> {{ i18n("messages","message.comment") }} + <i data-icon="ei-comment" data-size="s"></i><span> {{ i18n("messages","message.comment") }}</span> {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} </a> <a href="#" class="msg-menu"> - <i data-icon="ei-link" data-size="s"></i> {{ i18n("messages","message.share") }} + <i data-icon="ei-link" data-size="s"></i><span> {{ i18n("messages","message.share") }}</span> </a> {% endif %} {% if msg.FriendsOnly %} |