From 7c5469465b363505b9bdcf1cd0057d1c05f6b475 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 30 Aug 2017 01:16:41 +0300 Subject: www: move dialog form to js, using /post form when js unavailable --- juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html | 7 ++----- juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html | 8 -------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html (limited to 'juick-www/src/main/webapp/WEB-INF') 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 cf0f9bb7..75aab216 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 @@ -14,7 +14,7 @@
- {% if visitor.getUID() > 0 %} + {% if visitor.uid > 0 %} - {% if visitor.getUid() > 0 %} - {% include "views/partial/newmessage" %} - {% endif %} {% else %}

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

{% endif %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html deleted file mode 100644 index e21002b8..00000000 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html +++ /dev/null @@ -1,8 +0,0 @@ -
- -
- {{ i18n("messages","postForm.or") }} {{ i18n("messages","postForm.upload") }}
-
- -
-
\ No newline at end of file -- cgit v1.2.3