Uh, yeah, use the correct user here.

master
Nick Sergeant 2012-06-19 23:25:34 -04:00
parent 3d0ae080bf
commit 1d6a9d6e83
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@
{% if request.user.is_authenticated %}
<aside class="nav">
<a href="#" class="mini-profile">
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/{{ user.email|md5 }}?s=35');"></span>
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/{{ request.user.email|md5 }}?s=35');"></span>
<span class="username">{{ request.user.username }}</span>
<i class="icon-cog icon-white"></i>
</a>