[extensions-web] Don't use the browsing user to render the gravatar in the profile.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Don't use the browsing user to render the gravatar in the profile.
- Date: Fri, 30 Sep 2011 17:41:18 +0000 (UTC)
commit 7f3c1c33a2ebec4a248250112db4899ba986378e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 27 17:41:35 2011 -0400
Don't use the browsing user to render the gravatar in the profile.
sweettooth/auth/templates/auth/profile.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/auth/templates/auth/profile.html b/sweettooth/auth/templates/auth/profile.html
index d08913a..e9caed6 100644
--- a/sweettooth/auth/templates/auth/profile.html
+++ b/sweettooth/auth/templates/auth/profile.html
@@ -6,7 +6,7 @@
{% load gravatar %}
<div class="profile">
<h2>{{ display_name }}</h2>
- <img class="gravatar" src="{% gravatar_url request.user.email 128 %}">
+ <img class="gravatar" src="{% gravatar_url user.email 128 %}">
<h3> {{ display_name }} has authored </h3>
<ul>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]