diff -r c5a282b84eb8 -r 3e676fa948c4 pytask/templates/user/my_profile.html
--- a/pytask/templates/user/my_profile.html Mon Feb 01 15:16:40 2010 +0530
+++ b/pytask/templates/user/my_profile.html Mon Feb 01 16:52:34 2010 +0530
@@ -1,11 +1,50 @@
{% extends 'base.html' %}
+
+{% block title %}
+ {{ profile.user }}'s Profile
+{% endblock %}
+
{% block content %}
+
-{% if edit_profile %}
- edit my profile
-{% endif %}
-
-
-{{ view_profile_form.as_p }}
-
+
{{ profile }}'s Profile
+ {% if edit_profile %}
+ edit profile
+ {% endif %}
+
+ {% if profile.aboutme %}
+
About Me
{{ profile.aboutme }}
+ {% endif %}
+ {% if profile.nick %}
+
Nick Name
{{ profile.nick }}
+ {% endif %}
+ {% if profile.dob %}
+
Date of Birth
{{ profile.dob }}
+ {% endif %}
+ {% if profile.credits %}
+
Credits
{{ profile.credits }}
+ {% endif %}
+ {% if profile.foss_comm %}
+
Foss Community
{{ profile.foss_comm }}
+ {% endif %}
+ {% if profile.phonenum %}
+
Phone Number
{{ profile.phonenum }}
+ {% endif %}
+ {% if profile.homepage %}
+
Homepage
{{ profile.homepage }}
+ {% endif %}
+ {% if profile.street or profile.city or profile.country %}
+
Address
+ {% if profile.street %}
+ {{ profile.street }}
+
+ {% endif %}
+ {% if profile.city %}
+ {{ profile.city }}
+
+ {% endif %}
+ {% if profile.country %}
+ {{ profile.country }}
+ {% endif %}
+ {% endif %}
{% endblock %}