diff options
author | 2017-10-25 23:46:35 +0300 | |
---|---|---|
committer | 2017-10-25 23:46:35 +0300 | |
commit | b2ce016fa7a5462fa57bf670a01fb77596a3ab43 (patch) | |
tree | a69c60ce943cf3b29216b1a1e59c95f21ddd3587 /juick-www/src/main/webapp | |
parent | a0147e7d5a1fad7c0bb3349a1c66657b0b9d1e46 (diff) |
www: more recommend/template fixes
Diffstat (limited to 'juick-www/src/main/webapp')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/message.html | 2 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/thread.html | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html index 0e0d2c7a..9ef70f3b 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html @@ -26,7 +26,7 @@ {% endif %} <nav class="l"> {% if visitor.uid == msg.user.uid %} - <a href="/{{ msg.mid }}" class="a-like"> + <a href="/{{ msg.mid }}"> <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html index e45592e2..1202b620 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -33,7 +33,7 @@ {% endif %} <nav class="l"> {% if visitor.uid == msg.user.uid %} - <a href="/{{ msg.mid }}" class="a-like"> + <a href="/{{ msg.mid }}"> <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> @@ -48,9 +48,7 @@ {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% endif %} - {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} <a href="#" class="msg-menu"><i data-icon="ei-link" data-size="s"></i> Share</a> - {% endif %} {% if visitor.uid > 0 %} {% if visitor.uid != msg.user.uid %} {% if visitorSubscribed %} |