load flattr button using the same URL scheme as portfolio
authorJan Dittberner <jan@dittberner.info>
Sat, 5 Jan 2013 13:23:18 +0000 (14:23 +0100)
committerJan Dittberner <jan@dittberner.info>
Sat, 5 Jan 2013 13:23:18 +0000 (14:23 +0100)
ddportfolioservice/templates/base.mako

index e78699b..f6ffba4 100644 (file)
@@ -34,7 +34,7 @@ License along with this program.  If not, see
       <h1>${_('Debian Member Portfolio Service')}</h1>
       <p>${h.literal(_('''This service has been inspired by Stefano Zacchiroli's <a href="http://wiki.debian.org/DDPortfolio">DDPortfolio page in the Debian Wiki</a>. You can create a set of customized links leading to a Debian Member's or package maintainer's information regarding Debian.'''))}</p>
       <p><script type="text/javascript">
-       var flattr_url = 'http://portfolio.debian.net/';
+       var flattr_url = '${request.scheme}://portfolio.debian.net/';
        var flattr_btn='compact';
 </script>
 <script src="http://api.flattr.com/button/load.js" type="text/javascript"></script></p>