aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-08-29 17:34:03 +0300
committerGravatar Vitaly Takmazov2017-08-29 17:34:03 +0300
commitfe5ecea37a5974bd78712168b57e2c0b1d530f97 (patch)
tree92ef95a270d3d532099fd05590628f8440249ffd /juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
parentba72c5a583af55ebb782201ece7664e6acf78935 (diff)
www: post form on all pages
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html3
1 files changed, 3 insertions, 0 deletions
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 @@
<li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li>
</ul>
</nav>
+ {% if visitor.getUid() > 0 %}
+ {% include "views/partial/newmessage" %}
+ {% endif %}
{% else %}
<p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p>
{% endif %}