Mercurial > public > sg101
annotate gpp/templates/membermap/balloon.html @ 504:b5bd3509e6e6
Made some tweaks to the ajax login javascript.
Cleared the inputs on failure so someone won't repeatedly try a bad login.
Redirect on lockout so the page will refresh.
Set focus on the username box after failure for convenience.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 16:25:15 +0000 |
parents | 3c48a555298d |
children |
rev | line source |
---|---|
bgneal@310 | 1 {% load url from future %} |
bgneal@492 | 2 {% load bio_tags %} |
bgneal@266 | 3 {% if avatar_url %} |
bgneal@310 | 4 <a href="{% url 'bio-view_profile' username=user.name %}"> |
bgneal@266 | 5 <img src="{{ avatar_url }}" alt="{{ user.name }}" style="float:left;margin-right:3px;" /></a> |
bgneal@266 | 6 {% endif %} |
bgneal@492 | 7 {% profile_link user.name %}:<br /> |
bgneal@266 | 8 {{ user.message|safe }} |