--- a/templates/view_profile.html Fri Apr 16 18:15:12 2010 +0530
+++ b/templates/view_profile.html Sat Apr 17 11:40:17 2010 +0530
@@ -3,7 +3,14 @@
<a href="/workshop/registration/profile/edit">Edit Profile</a> |
<a href="/workshop/registration/password_change">Change Password</a>
<br />
-{{user.first_name}} {{user.last_name}}<br />
-{{user_profile.affiliated_to }}<br />
-{{user_profile.interests }}<br />
+Firstname: {{user.first_name}}<br />
+Lastname: {{user.last_name}}<br />
+Gender: {% ifequal user_profile.gender "M" %}Male{%else%}Female{%endifequal%}<br />
+Profession: {% ifequal user_profile.profession "S" %}
+ Student
+ {% else %}
+ {% ifequal user_profile.profession "F" %}Faculty{%else%}Professinal{%endifequal%}
+ {%endifequal%}<br />
+College/Company: {{user_profile.affiliated_to }}<br />
+Interests: {{user_profile.interests }}<br />
{% endblock %}