author | nishanth |
Thu, 04 Mar 2010 17:29:00 +0530 | |
changeset 199 | 946d0fe60606 |
parent 65 | 8ac0ce6cfd66 |
child 208 | ba839dd7c7d7 |
permissions | -rw-r--r-- |
24 | 1 |
{% extends 'base.html' %} |
27 | 2 |
|
3 |
{% block title %} |
|
4 |
{{ profile.user }}'s Profile |
|
5 |
{% endblock %} |
|
6 |
||
24 | 7 |
{% block content %} |
27 | 8 |
<!--{{ view_profile_form.as_p }}--> |
24 | 9 |
|
28
e137b605b888
added browse users functionality, added user/browse.html, fixed view my profile template.
anoop
parents:
27
diff
changeset
|
10 |
<h2>{{ profile }}'s Profile</h2> |
e137b605b888
added browse users functionality, added user/browse.html, fixed view my profile template.
anoop
parents:
27
diff
changeset
|
11 |
<hr> |
27 | 12 |
{% if edit_profile %} |
45 | 13 |
<a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a> |
28
e137b605b888
added browse users functionality, added user/browse.html, fixed view my profile template.
anoop
parents:
27
diff
changeset
|
14 |
<hr> |
27 | 15 |
{% endif %} |
65 | 16 |
{% if profile.photo %} |
17 |
<a href={{ profile.photo.url }}> |
|
18 |
<img border="0" height="200" src={{ profile.photo.url }}> |
|
19 |
</a> |
|
20 |
{% endif %} |
|
27 | 21 |
{% if profile.aboutme %} |
22 |
<br><h4>About Me</h4><hr>{{ profile.aboutme }} |
|
23 |
{% endif %} |
|
24 |
{% if profile.nick %} |
|
25 |
<br><h4>Nick Name</h4><hr>{{ profile.nick }} |
|
26 |
{% endif %} |
|
27 |
{% if profile.dob %} |
|
28 |
<br><h4>Date of Birth</h4><hr>{{ profile.dob }} |
|
29 |
{% endif %} |
|
30 |
{% if profile.credits %} |
|
31 |
<br><h4>Credits</h4><hr>{{ profile.credits }} |
|
32 |
{% endif %} |
|
33 |
{% if profile.foss_comm %} |
|
34 |
<br><h4>Foss Community</h4><hr>{{ profile.foss_comm }} |
|
35 |
{% endif %} |
|
36 |
{% if profile.phonenum %} |
|
37 |
<br><h4>Phone Number</h4><hr>{{ profile.phonenum }} |
|
38 |
{% endif %} |
|
39 |
{% if profile.homepage %} |
|
40 |
<br><h4>Homepage</h4><hr>{{ profile.homepage }} |
|
41 |
{% endif %} |
|
42 |
{% if profile.street or profile.city or profile.country %} |
|
43 |
<br><h4>Address</h4><hr> |
|
44 |
{% if profile.street %} |
|
45 |
{{ profile.street }} |
|
46 |
<br> |
|
47 |
{% endif %} |
|
48 |
{% if profile.city %} |
|
49 |
{{ profile.city }} |
|
50 |
<br> |
|
51 |
{% endif %} |
|
52 |
{% if profile.country %} |
|
53 |
{{ profile.country }} |
|
54 |
{% endif %} |
|
55 |
{% endif %} |
|
24 | 56 |
{% endblock %} |