From a0db01f79371dd6b0641bedebe4b26a3f755c2ee Mon Sep 17 00:00:00 2001
From: Jan Dittberner <jandd@debian.org>
Date: Sat, 11 Oct 2014 17:59:23 +0200
Subject: remove remote resource references to avoid privacy issues

Patch-Name: no-remote-resources.patch
---
 docs/_templates/sidebarintro.html |  9 ---------
 docs/_themes/kr/layout.html       | 11 -----------
 2 files changed, 20 deletions(-)

diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index 625b333..ecd71b0 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -1,8 +1,4 @@
 <h3 style="font-size: 30px;"><a href="{{ pathto(master_doc) }}">crispy-forms</a></h3>
-<p>
-  <iframe src="http://ghbtns.com/github-btn.html?user=maraujop&repo=django-crispy-forms&type=watch&count=true&size=large"
-    allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
-</p>
 
 <p>
   django-crispy-forms is a Django application that lets you easily build, customize and reuse forms using your favorite CSS framework, without writing template code and without having to take care of annoying details. You are currently looking at the documentation of the development release.
@@ -13,8 +9,3 @@
 <p>
     If you love django-crispy-forms, consider making a small donation <a href="http://flattr.com/thing/512037/django-crispy-forms">on Flattr</a>:
 </p>
-<p>
-    <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="https://django-crispy-forms.readthedocs.io"></a>
-    <noscript><a href="http://flattr.com/thing/512037/django-crispy-forms" target="_blank">
-    <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Click to flattr django-crispy-forms" border="0" /></a></noscript>
-</p>
diff --git a/docs/_themes/kr/layout.html b/docs/_themes/kr/layout.html
index 4d50f1e..d7c8792 100644
--- a/docs/_themes/kr/layout.html
+++ b/docs/_themes/kr/layout.html
@@ -9,17 +9,6 @@
 {% endblock %}
 {%- block relbar2 %}{% endblock %}
 {%- block footer %}
-    <script type="text/javascript">
-    /* <![CDATA[ */
-        (function() {
-            var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
-            s.type = 'text/javascript';
-            s.async = true;
-            s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
-            t.parentNode.insertBefore(s, t);
-        })();
-    /* ]]> */</script>
-
     <div class="footer">
       &copy; Copyright {{ copyright }}.
       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
