aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/index.html3
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html3
2 files changed, 3 insertions, 3 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 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 %}
<!--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 @@
<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 %}