From 58c0ca3a79c9ad61184666a13e262499a5789bd1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 31 Jan 2020 16:44:26 +0300 Subject: Fix buttons in thread --- src/main/resources/templates/views/thread.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/resources/templates/views/thread.html') 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 @@ - {% if msg.Likes > 0 %} {{ msg.Likes }}{% endif %} + {% if msg.Likes > 0 %} {{ msg.Likes }} + {%else %} +  {{ i18n("messages","message.recommend") }} + {% endif %} -  {{ i18n("messages","message.recommend") }} - {% endif %} {% if visitor.uid > 0 %} -- cgit v1.2.3