From fe5ecea37a5974bd78712168b57e2c0b1d530f97 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 29 Aug 2017 17:34:03 +0300 Subject: www: post form on all pages --- juick-www/src/main/webapp/WEB-INF/views/index.html | 3 --- juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-www/src/main/webapp') 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 506979b5..51590ce0 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -4,9 +4,6 @@ {% if noindex %} {% endif %} -{% if visitor.getUid() > 0 %} -{% include "views/partial/newmessage" %} -{% endif %} {% for msg in msgs %} {% include "views/partial/message" %} {% endfor %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html index 6cb10141..cf0f9bb7 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html @@ -30,6 +30,9 @@
  • {{ i18n("messages","link.logout") }}
  • + {% if visitor.getUid() > 0 %} + {% include "views/partial/newmessage" %} + {% endif %} {% else %}

    {{ i18n("messages","message.loginForSending", "/login") | raw }}.

    {% endif %} -- cgit v1.2.3