# HG changeset patch # User Brian Neal # Date 1369592984 18000 # Node ID 69e8aa135c2ef079b3a97284638d20362f75d71c # Parent be5b3771905903b2fed9a45633ef0359e69e6258 For issue #34, make social media share buttons more privacy concious. diff -r be5b37719059 -r 69e8aa135c2e core/templatetags/core_tags.py --- a/core/templatetags/core_tags.py Sat May 25 22:17:46 2013 -0500 +++ b/core/templatetags/core_tags.py Sun May 26 13:29:44 2013 -0500 @@ -79,6 +79,7 @@ return { 'title': title, 'url': url, + 'STATIC_URL': settings.STATIC_URL, } diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/contests/contest_detail.html --- a/sg101/templates/contests/contest_detail.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/contests/contest_detail.html Sun May 26 13:29:44 2013 -0500 @@ -13,7 +13,6 @@ {% endblock %} -{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block content %}

Contests

{{ contest.title }}

@@ -64,4 +63,3 @@
{% social_sharing contest.title contest.get_absolute_url %} {% endblock %} -{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %} diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/core/social_sharing_begin.html --- a/sg101/templates/core/social_sharing_begin.html Sat May 25 22:17:46 2013 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -
- diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/core/social_sharing_end.html --- a/sg101/templates/core/social_sharing_end.html Sat May 25 22:17:46 2013 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ - - diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/core/social_sharing_tag.html --- a/sg101/templates/core/social_sharing_tag.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/core/social_sharing_tag.html Sun May 26 13:29:44 2013 -0500 @@ -1,13 +1,13 @@
diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/home.html --- a/sg101/templates/home.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/home.html Sun May 26 13:29:44 2013 -0500 @@ -34,7 +34,6 @@ #home-slideshow img { display: none } {% endblock %} -{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block content %}

Welcome to SurfGuitar101!

@@ -69,4 +68,3 @@
{% endcache %} {% endblock %} -{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %} diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/news/index.html --- a/sg101/templates/news/index.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/news/index.html Sun May 26 13:29:44 2013 -0500 @@ -4,7 +4,6 @@ {% block news_css %} {% endblock %} -{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block news_content %}

{{ title }}

@@ -20,4 +19,3 @@ {% endif %} {% endblock %} -{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %} diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/news/story.html --- a/sg101/templates/news/story.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/news/story.html Sun May 26 13:29:44 2013 -0500 @@ -18,7 +18,6 @@ {% endif %} {% endblock %} -{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block news_content %}

{{ story.title }}

@@ -69,4 +68,3 @@ {% endif %}
{% endblock %} -{% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %} diff -r be5b37719059 -r 69e8aa135c2e sg101/templates/podcast/detail.html --- a/sg101/templates/podcast/detail.html Sat May 25 22:17:46 2013 -0500 +++ b/sg101/templates/podcast/detail.html Sun May 26 13:29:44 2013 -0500 @@ -28,7 +28,6 @@ //]]> {% endblock %} -{% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %} {% block podcast-content %}