aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-01-31 16:44:26 +0300
committerGravatar Vitaly Takmazov2020-01-31 16:44:26 +0300
commit58c0ca3a79c9ad61184666a13e262499a5789bd1 (patch)
treedb421fec7806f35d6dae7d54165cc3c22476c98d
parent99cd088345a05e11fcc119f1dc2ba2935a45e45b (diff)
Fix buttons in thread
-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 %}