annotate gpp/templates/core/social_block.html @ 507:8631d32e6b16
Some users are still having problems with the pop-up login. I think they are actually getting 403s because of the CSRF protection. So I have modified the base template to always have a javascript variable called csrf_token available when they aren't logged in. The ajax_login.js script was then modified to send this value with the ajax post. Fingers crossed.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 04 Dec 2011 03:05:21 +0000 |
parents |
a1e3724f0799 |
children |
|
rev |
line source |
bgneal@341
|
1 {% extends 'side_block.html' %}
|
bgneal@341
|
2 {% block block_title %}SG101 on the Web{% endblock %}
|
bgneal@341
|
3 {% block block_content %}
|
bgneal@341
|
4 <p class="centeredImage">
|
bgneal@341
|
5 <a href="http://www.twitter.com/SurfGuitar101"><img src="http://twitter-badges.s3.amazonaws.com/twitter-a.png" alt="Follow SurfGuitar101 on Twitter"/></a><br />
|
bgneal@355
|
6 <a href="http://www.youtube.com/user/surfguitar101?feature=creators_cornier-http%3A//s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png"><img src="http://s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png" alt="Subscribe to me on YouTube"/></a>
|
bgneal@341
|
7 </p>
|
bgneal@341
|
8 {% endblock %}
|