aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r--src/main/resources/templates/views/thread.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html
index 9337a87c..21c5a23c 100644
--- a/src/main/resources/templates/views/thread.html
+++ b/src/main/resources/templates/views/thread.html
@@ -60,10 +60,11 @@
<a href="/login" class="a-login msg-button">
<span class="msg-button-icon">
<i data-icon="ei-heart" data-size="s"></i>
- {% if msg.Likes > 0 %}&nbsp;{{ msg.Likes }}{% endif %}
+ {% if msg.Likes > 0 %}&nbsp;{{ msg.Likes }}
+ {%else %}
+ <span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
+ {% endif %}
</span>
- <span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
-
</a>
{% endif %}
{% if visitor.uid > 0 %}