diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/index.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html index 9299ccf8..ea5b1ba8 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -37,7 +37,7 @@ {% else %} <a href="/login" class="a-login">{{ i18n("messages","message.recommend") }}</a> {% endif %} - {% if visitor.uid > 0 and (not msg.ReadOnly or visitor.uid == msg.user.uid) %} + {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} <a href="/{{ msg.mid }}" class="a-comment">{{ i18n("messages","message.comment") }}</a> {% elseif visitor.uid == 0 and not msg.ReadOnly %} <a href="/login" class="a-login">{{ i18n("messages","message.comment") }}</a> |