From b7545f62d85f0f9826486e6435d3b49fd7784456 Mon Sep 17 00:00:00 2001 From: Killy Date: Thu, 26 Oct 2017 22:41:25 +0300 Subject: www: comment form refactoring --- juick-www/src/main/webapp/WEB-INF/views/macros/tree.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html | 2 +- juick-www/src/main/webapp/WEB-INF/views/thread.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-www/src/main/webapp/WEB-INF/views') diff --git a/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html b/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html index 380b3130..71ffd74b 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html +++ b/juick-www/src/main/webapp/WEB-INF/views/macros/tree.html @@ -38,7 +38,7 @@ {% endif %} {% if msg.VisitorCanComment %} · {{ i18n("messages","reply.reply") }} -
+ {% elseif visitor.uid == 0 %} · {{ i18n("messages","reply.reply") }} {% endif %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html index a6e4522e..f273dec7 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html @@ -37,7 +37,7 @@ {% if msg.VisitorCanComment %} · {{ i18n("messages","reply.reply") }} - + {% elseif visitor.uid == 0 %} · {{ i18n("messages","reply.reply") }} 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 747d7959..8e30fafa 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -77,7 +77,7 @@ {% endif %} {% if msg.VisitorCanComment %} -