aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/views/partial
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-30 14:38:28 +0300
committerGravatar Vitaly Takmazov2016-08-30 14:38:28 +0300
commite6962670c778966b49620d6166581986fa54cf34 (patch)
treeec7518d34bc8910ad915ffad8da09266e9452b39 /juick-www/src/main/resources/views/partial
parent3e4ed1552076018f88cc2bb47cb99b7eec607286 (diff)
fix templates
Diffstat (limited to 'juick-www/src/main/resources/views/partial')
-rw-r--r--juick-www/src/main/resources/views/partial/footer.html34
-rw-r--r--juick-www/src/main/resources/views/partial/tags.html6
2 files changed, 35 insertions, 5 deletions
diff --git a/juick-www/src/main/resources/views/partial/footer.html b/juick-www/src/main/resources/views/partial/footer.html
new file mode 100644
index 000000000..6978a2c0b
--- /dev/null
+++ b/juick-www/src/main/resources/views/partial/footer.html
@@ -0,0 +1,34 @@
+<div id="footer">
+ <div id="footer-right">
+ <a href="/settings" rel="nofollow">Настройки</a> &#183;
+ <a href="/help/ru/contacts" rel="nofollow">Контакты</a> &#183;
+ <a href="/help/" rel="nofollow">Справка</a> &#183;
+ <a href="/help/ru/adv" rel="nofollow">Реклама</a>
+ </div>
+ <div id="footer-social">
+ <a href="https://twitter.com/Juick" rel="nofollow" class="ico32-twi">Twitter</a>
+ <a href="https://vk.com/juick" rel="nofollow" class="ico32-vk">ВКонтакте</a>
+ <a href="https://www.facebook.com/JuickCom" rel="nofollow" class="ico32-fb">Facebook</a>
+ </div>
+ <div id="footer-left">juick.com &copy; 2008-2016
+ {% if links %}
+ <br/>Спонсоры: {{ links }}
+ {% endif %}
+ </div>
+</div>
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ ga('create','UA-385578-4','juick.com');
+ ga('require','displayfeatures');
+ ga('send','pageview');
+ {% if (sapeon) %}
+ 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';
+ var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t);
+ })();
+ {% endif %}
+</script> \ No newline at end of file
diff --git a/juick-www/src/main/resources/views/partial/tags.html b/juick-www/src/main/resources/views/partial/tags.html
index a2906ef0b..4d05b7fbe 100644
--- a/juick-www/src/main/resources/views/partial/tags.html
+++ b/juick-www/src/main/resources/views/partial/tags.html
@@ -1,7 +1,3 @@
{% for tag in tags %}
-<span>
- <!-- TODO: tagscloud: font-size: small, large, x-large, xx-large !-->
- <a href="/{{ user.getUName() }}/?tag={{tag.getName()}}"
- title="{{ tag.getName() }}" class="usage_{{ tag.UsageCnt }}">{{ tag.getName() }}</a>
-</span>
+ <a href="/tag/{{ tag | urlencode }}" title="{{ tag }}">{{ tag }}</a>
{% endfor %} \ No newline at end of file