aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/message.html14
1 files changed, 1 insertions, 13 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 33f0f5c6..9e3ede6c 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
@@ -50,7 +50,7 @@
<span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
</a>
{% endif %}
- {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
+ {% if (not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
<a href="/{{ msg.mid }}" class="a-comment msg-button">
<span class="msg-button-icon">
<i data-icon="ei-comment" data-size="s"></i>
@@ -62,18 +62,6 @@
<i data-icon="ei-link" data-size="s"></i>
<span>&nbsp;{{ i18n("messages","message.share") }}</span>
</a>
- {% elseif visitor.uid == 0 and not msg.ReadOnly %}
- <a href="/login" class="a-login msg-button">
- <span class="msg-button-icon">
- <i data-icon="ei-comment" data-size="s"></i>
- {% if msg.Replies > 0 %}&nbsp;{{ msg.Replies }}{% endif %}
- </span>
- <span>&nbsp;{{ i18n("messages","message.comment") }}</span>
- </a>
- <a href="#" class="msg-menu msg-button">
- <i data-icon="ei-link" data-size="s"></i>
- <span>&nbsp;{{ i18n("messages","message.share") }}</span>
- </a>
{% endif %}
{% if msg.FriendsOnly %}
<a href="#" class="a-privacy">Открыть доступ</a>