diff options
Diffstat (limited to 'src/main/resources/templates/views')
-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 %} |