diff options
author | Vitaly Takmazov | 2018-02-07 12:49:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-07 12:49:00 +0300 |
commit | 5ed39dda637059d56f6d8c501880ec9bca7b2fee (patch) | |
tree | 1e94c1da18ef7e3798a12c7869b1fb23e30fd635 /juick-www/src/main/webapp/WEB-INF/layouts/default.html | |
parent | a2fcaac118db98ddf0b028639f4276f417e45d8f (diff) |
www: hide navigation in post
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/layouts/default.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/layouts/default.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/layouts/default.html b/juick-www/src/main/webapp/WEB-INF/layouts/default.html new file mode 100644 index 00000000..f056322f --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/layouts/default.html @@ -0,0 +1,21 @@ +{% extends "layouts/content" %} +{% block body %} +{% include "views/partial/navigation" %} +<div id="wrapper"> + {% if visitor.uid == 0 %} + <div class="page"> + <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> + <aside id="column"> + {% block column %} + {% endblock %} + </aside> +</div> +{% include "views/partial/footer" %} +{% endblock %}
\ No newline at end of file |