aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/partial
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/footer.html4
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
index 491cf140..61267396 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
@@ -11,7 +11,7 @@
<a href="https://www.facebook.com/JuickCom" rel="nofollow" class="ico32-fb">Facebook</a>
</div>
<div id="footer-left">juick.com &copy; 2008-2017
- {% if links is not empty %}
+ {% if links | default ('') is not empty %}
<br/>{{ i18n("messages","label.sponsors") }}: {{ links }}
{% endif %}
</div>
@@ -24,7 +24,7 @@
ga('create','UA-385578-4','juick.com');
ga('require','displayfeatures');
ga('send','pageview');
- {% if (sapeon) %}
+ {% if (sapeon | default(false)) %}
var _acic={dataProvider:10};
(function(){
var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src='//www2.aci'+'nt.net/aci.js';
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
index 3fbfaf5a..998aa422 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
@@ -9,7 +9,7 @@
</nav>
<div id="search">
<form action="/">
- <input type="text" name="search" class="text" placeholder="Поиск" value="{{ search }}"/>
+ <input type="text" name="search" class="text" placeholder="Поиск" value="{{ search | default('') }}"/>
</form>
</div>
<section id="headdiv">