3f6b4878d107f4045834e9aab564fcebb04b280a
[prawokultury.git] / prawokultury / templates / share.html
1 {% load i18n common_tags static %}
2 {% with encoded_url=url|build_absolute_uri:request|urlencode encoded_desc=description|urlencode %}
3 <a rel="nofollow" target="_blank" class="facebook"
4     href="https://www.facebook.com/sharer.php?u={{ encoded_url }}">
5     <img src="{% static "img/social/"|add:iconset|add:"facebook.png" %}"
6         alt="{% trans 'Share on Facebook' %}"></a>
7 <a rel="nofollow" target="_blank" class="google"
8     href="https://plus.google.com/share?url={{ encoded_url }}">
9     <img src="{% static "img/social/"|add:iconset|add:"google.png" %}"
10         alt="{% trans 'Share on Google+' %}"></a>
11 <a rel="nofollow" target="_blank" class="twitter"
12     href="https://twitter.com/intent/tweet?url={{ encoded_url }}&amp;text={{ encoded_desc }}">
13     <img src="{% static "img/social/"|add:iconset|add:"twitter.png" %}"
14         alt="{% trans 'Share on Twitter' %}"></a>
15 <a rel="nofollow" target="_blank" class="nk"
16     href="http://nk.pl/#sledzik?shout={{ encoded_desc }}%20{{ encoded_url }}">
17     <img src="{% static "img/social/"|add:iconset|add:"nk.png" %}"
18         alt="{% trans 'Share on NK.pl' %}"></a>
19 {% comment %}
20 <a rel="nofollow" target="_blank" class="diaspora"
21     href="http://sharetodiaspora.github.com/?title={{ encoded_desc }}&amp;url={{ encoded_url }}">
22     <img src="{% static "img/social/"|add:iconset|add:"diaspora.png" %}"
23         alt="{% trans 'Share on Diaspora' %}"></a>
24 <a rel="nofollow" target="_blank" class="blip"
25     href="http://blip.pl/dashboard?body={{ encoded_desc }}%20{{ encoded_url }}">
26     <img src="{% static "img/social/"|add:iconset|add:"blip.png" %}"
27         alt="{% trans 'Share on Blip.pl' %}"></a>
28 {% endcomment %}
29 {% endwith %}