Commit 8e6a9e49 authored by Ben Waters's avatar Ben Waters
Browse files

idk

parent 39be0cec
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="row clearfix"> <div class="row clearfix">
<div class="col-md-4 column"> <div class="col-md-4 column">
<img class="img-circle img-responsive center-block" src="{% gravatar url <img class="img-circle img-responsive center-block" src="{% gravatar url
'{{ user.email }}' 200 %}"> '{{ current_user.user.email }}' 200 %}">
</div> </div>
<div class="col-md-4 column"> <div class="col-md-4 column">
</div> </div>
......
...@@ -42,7 +42,7 @@ def profile(request): ...@@ -42,7 +42,7 @@ def profile(request):
current_user = get_object_or_404(Student,user__username=request.user.username) current_user = get_object_or_404(Student,user__username=request.user.username)
return render_to_response('profile.html', { return render_to_response('profile.html', {
"user" : current_user, "current_user" : current_user,
"firstname" : current_user.user.first_name, "firstname" : current_user.user.first_name,
"advisorname" : current_user.advisorname, "advisorname" : current_user.advisorname,
}) })
......
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