From f92fb49bfab851d6de2480cf0359920516bfe050 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 26 Feb 2018 13:10:11 +0300 Subject: www: move ads to sidebar --- juick-www/src/main/resources/templates/views/partial/footer.html | 6 +----- .../src/main/resources/templates/views/partial/homecolumn.html | 3 +++ .../src/main/resources/templates/views/partial/tagcolumn.html | 7 +++++++ .../src/main/resources/templates/views/partial/usercolumn.html | 6 +++++- 4 files changed, 16 insertions(+), 6 deletions(-) (limited to 'juick-www') diff --git a/juick-www/src/main/resources/templates/views/partial/footer.html b/juick-www/src/main/resources/templates/views/partial/footer.html index 87744183..08c09268 100644 --- a/juick-www/src/main/resources/templates/views/partial/footer.html +++ b/juick-www/src/main/resources/templates/views/partial/footer.html @@ -9,9 +9,5 @@ - + diff --git a/juick-www/src/main/resources/templates/views/partial/homecolumn.html b/juick-www/src/main/resources/templates/views/partial/homecolumn.html index 6142e9e9..3d4ae1c3 100644 --- a/juick-www/src/main/resources/templates/views/partial/homecolumn.html +++ b/juick-www/src/main/resources/templates/views/partial/homecolumn.html @@ -19,5 +19,8 @@ {% include "views/partial/tags" %} {% if showAdv | default(false) %} конструктор сайтов + {% if links | default ('') is not empty %} +
{{ i18n("messages","label.sponsors") }}: {{ links | raw }} + {% endif %} {% endif %}

\ No newline at end of file diff --git a/juick-www/src/main/resources/templates/views/partial/tagcolumn.html b/juick-www/src/main/resources/templates/views/partial/tagcolumn.html index 3e61d3d3..b806807a 100644 --- a/juick-www/src/main/resources/templates/views/partial/tagcolumn.html +++ b/juick-www/src/main/resources/templates/views/partial/tagcolumn.html @@ -31,3 +31,10 @@ {% endif %} {% endif %} +
+ {% if showAdv | default(false) %} + {% if links | default ('') is not empty %} +
{{ i18n("messages","label.sponsors") }}: {{ links | raw }} + {% endif %} + {% endif %} +
diff --git a/juick-www/src/main/resources/templates/views/partial/usercolumn.html b/juick-www/src/main/resources/templates/views/partial/usercolumn.html index 382c3622..0ebede03 100644 --- a/juick-www/src/main/resources/templates/views/partial/usercolumn.html +++ b/juick-www/src/main/resources/templates/views/partial/usercolumn.html @@ -85,5 +85,9 @@ {% endfor %} {% endif %} - + {% if showAdv | default(false) %} + {% if links | default ('') is not empty %} +
{{ i18n("messages","label.sponsors") }}: {{ links | raw }} + {% endif %} + {% endif %} -- cgit v1.2.3