diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/layouts')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/layouts/content.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/content.html b/juick-www/src/main/webapp/WEB-INF/layouts/content.html index 9ced2d76..73d140f1 100644 --- a/juick-www/src/main/webapp/WEB-INF/layouts/content.html +++ b/juick-www/src/main/webapp/WEB-INF/layouts/content.html @@ -46,8 +46,13 @@ <body id="body" {% if visitor.uid > 0 %}data-hash="{{visitor.authHash}}"{% endif %}> {% include "views/partial/navigation" %} <div id="wrapper"> -<section id="content" style="{{ contentStyle | default('') }}" - {% if msg | default('') is not empty %}data-mid="{{ msg.mid }}"{% endif %}> + {% if visitor.uid == 0 %} + <div id="headdiv"> + <p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p> + </div> + {% endif %} +<section id="content" + {% if msg | default('') is not empty %}data-mid="{{ msg.mid }}"{% endif %}> {% block content %} {% endblock %} </section> |