aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/layouts/content.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-19 16:34:02 +0300
committerGravatar Vitaly Takmazov2017-10-21 22:53:09 +0000
commitff106a64431e6510267ab0677c41d95d555b3956 (patch)
tree22ef5e3e4bd7992906ed050d07f8a13c2c317882 /juick-www/src/main/webapp/WEB-INF/layouts/content.html
parent673dbb9b9bab99b458eb94c78d1e54e4c70e4b86 (diff)
www: new design
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/layouts/content.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/layouts/content.html9
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>