Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add flattr button

  • Loading branch information...
commit ad9034304d78c1bb74558610ffe332478c45d7eb 1 parent 7f29f3d
@alx authored
Showing with 16 additions and 1 deletion.
  1. +16 −1 json_server/views/layout.erb
View
17 json_server/views/layout.erb
@@ -28,6 +28,18 @@
<link rel="stylesheet" href="css/monthpicker.css">
<script src="js/libs/modernizr-1.7.min.js"></script>
+ <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>
+
</head>
<body>
@@ -42,7 +54,10 @@
</div>
<div class="span-3">
<a href="http://github.com/alx/politimap">code</a><br>
- <a href="http://cpc.regardscitoyens.org/trac/wiki/API">api</a>
+ <a href="http://cpc.regardscitoyens.org/trac/wiki/API">api</a><br>
+ <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://politimap.tetalab.org"></a>
+ <noscript><a href="http://flattr.com/thing/357242/Politimap-Quels-dputs-participent-lAssemble-Nationale" target="_blank">
+ <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
</div>
<div class="span-3 last">
<a href="http://www.patrick-wied.at/static/heatmapjs/">heatmap.js</a><br>
Please sign in to comment.
Something went wrong with that request. Please try again.