Commit 46893e6b authored by Daniel W Bond's avatar Daniel W Bond

ummmmmmmmmmmm how did this work before? how did 'user' return something? what...

ummmmmmmmmmmm how did this work before? how did 'user' return something? what is that? it's supposed to be 'request.user'
parent 1d993692
......@@ -24,7 +24,7 @@
{% if user.is_authenticated %}
<li><a href="/search"><i class="fa fa-search fa-lg"></i></a></li>
{% load gravatar %}
<li><a href="{{ user.student.get_absolute_url }}">
<li><a href="{{ request.user.student.get_absolute_url }}">
<img class="img-circle img-responsive center center-block" src="{% gravatar_url request.user.email 21 %}"></a></li>
<li><a href="/logout">Log Out</a></li>
{% else %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment