diff options
author | anoop | 2010-02-24 13:13:39 +0530 |
---|---|---|
committer | anoop | 2010-02-24 13:13:39 +0530 |
commit | 25fa2d98b32bff8afce68321029726da78eb0151 (patch) | |
tree | bebcedab4e462b2cde68a2c81aa1c1df54f3cb30 | |
parent | f98d30aa38f712f672947c6920920625e4c391eb (diff) | |
download | pytask-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.html | 5 |
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 %} |