templates/view_profile.html
author nishanth
Fri, 23 Apr 2010 16:35:42 +0530
changeset 98 1af134a1e53d
parent 93 cd76d507b6cf
permissions -rw-r--r--
now an email will be sent to user after he resets his password.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
125b6fc8f20b users can view and edit profile .
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
125b6fc8f20b users can view and edit profile .
nishanth
parents:
diff changeset
     2
{% block content %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 18
diff changeset
     3
<a href="/workshop/registration/profile/edit">Edit Profile</a> | 
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 18
diff changeset
     4
<a href="/workshop/registration/password_change">Change Password</a>
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 17
diff changeset
     5
<br />
93
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
     6
Firstname: {{user.first_name}}<br />
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
     7
Lastname: {{user.last_name}}<br />
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
     8
Gender: {% ifequal user_profile.gender "M" %}Male{%else%}Female{%endifequal%}<br />
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
     9
Profession: {% ifequal user_profile.profession "S" %}
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    10
				Student
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    11
			{% else %}
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    12
				{% ifequal user_profile.profession "F" %}Faculty{%else%}Professinal{%endifequal%}
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    13
			{%endifequal%}<br />
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    14
College/Company: {{user_profile.affiliated_to }}<br />
cd76d507b6cf changed the view profile template.
nishanth
parents: 75
diff changeset
    15
Interests: {{user_profile.interests }}<br />
17
125b6fc8f20b users can view and edit profile .
nishanth
parents:
diff changeset
    16
{% endblock %}