aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-25 23:46:35 +0300
committerGravatar Vitaly Takmazov2017-10-25 23:46:35 +0300
commitb2ce016fa7a5462fa57bf670a01fb77596a3ab43 (patch)
treea69c60ce943cf3b29216b1a1e59c95f21ddd3587
parenta0147e7d5a1fad7c0bb3349a1c66657b0b9d1e46 (diff)
www: more recommend/template fixes
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/message.html2
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/thread.html4
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>&nbsp;{{ i18n("messages","message.recommend") }}
{% if msg.Likes > 0 %}&nbsp;({{ 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>&nbsp;{{ i18n("messages","message.recommend") }}
{% if msg.Likes > 0 %}&nbsp;({{ msg.Likes }}){% endif %}
</a>
@@ -48,9 +48,7 @@
{% if msg.Likes > 0 %}&nbsp;({{ 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>&nbsp;Share</a>
- {% endif %}
{% if visitor.uid > 0 %}
{% if visitor.uid != msg.user.uid %}
{% if visitorSubscribed %}