From b1e6f250e1c9d69f80899e4b877f40ccf8a214df Mon Sep 17 00:00:00 2001 From: Killy Date: Wed, 27 Dec 2017 16:15:57 +0300 Subject: www: responsive layout (2) --- juick-www/src/main/webapp/WEB-INF/views/index.html | 2 - .../webapp/WEB-INF/views/partial/homecolumn.html | 38 ++++++++++- .../webapp/WEB-INF/views/partial/navigation.html | 79 +++++++++++----------- .../webapp/WEB-INF/views/partial/tagcolumn.html | 8 +++ .../webapp/WEB-INF/views/partial/usercolumn.html | 49 ++++++++++---- 5 files changed, 118 insertions(+), 58 deletions(-) (limited to 'juick-www/src/main/webapp/WEB-INF') 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 10539c44..ccab381b 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -14,8 +14,6 @@ {% block "column" %} {% if tag | default('') is not empty %} {% include "views/partial/tagcolumn" %} -{% elseif visitor.uid > 0 %} -{% include "views/partial/usercolumn" %} {% else %} {% include "views/partial/homecolumn" %} {% endif %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html b/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html index c466a128..50f7e725 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/homecolumn.html @@ -1,6 +1,40 @@ -
+ {{ i18n("messages","blog.comments") }}{% if statsReplies > 0 %} {{ statsReplies }}{% endif %} +
+