diff options
author | Vitaly Takmazov | 2020-01-31 16:44:26 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-01-31 16:44:26 +0300 |
commit | 58c0ca3a79c9ad61184666a13e262499a5789bd1 (patch) | |
tree | db421fec7806f35d6dae7d54165cc3c22476c98d /src | |
parent | 99cd088345a05e11fcc119f1dc2ba2935a45e45b (diff) |
Fix buttons in thread
Diffstat (limited to 'src')
-rw-r--r-- | src/main/resources/templates/views/thread.html | 7 |
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 %} {{ msg.Likes }}{% endif %} + {% if msg.Likes > 0 %} {{ msg.Likes }} + {%else %} + <span> {{ i18n("messages","message.recommend") }}</span> + {% endif %} </span> - <span> {{ i18n("messages","message.recommend") }}</span> - </a> {% endif %} {% if visitor.uid > 0 %} |