summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranoop2010-02-24 13:13:39 +0530
committeranoop2010-02-24 13:13:39 +0530
commit25fa2d98b32bff8afce68321029726da78eb0151 (patch)
treebebcedab4e462b2cde68a2c81aa1c1df54f3cb30
parentf98d30aa38f712f672947c6920920625e4c391eb (diff)
downloadpytask-25fa2d98b32bff8afce68321029726da78eb0151.tar.gz
pytask-25fa2d98b32bff8afce68321029726da78eb0151.tar.bz2
pytask-25fa2d98b32bff8afce68321029726da78eb0151.zip
added photograph to be shown in my profile page.
-rw-r--r--templates/user/my_profile.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/user/my_profile.html b/templates/user/my_profile.html
index 9c2c04b..2a397b5 100644
--- a/templates/user/my_profile.html
+++ b/templates/user/my_profile.html
@@ -13,6 +13,11 @@
<a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a>
<hr>
{% endif %}
+ {% if profile.photo %}
+ <a href={{ profile.photo.url }}>
+ <img border="0" height="200" src={{ profile.photo.url }}>
+ </a>
+ {% endif %}
{% if profile.aboutme %}
<br><h4>About Me</h4><hr>{{ profile.aboutme }}
{% endif %}