| author | anoop |
| Tue, 23 Feb 2010 19:42:12 +0530 | |
| changeset 60 | 3eac96608091 |
| parent 45 | ab8918e654ae |
| child 65 | 8ac0ce6cfd66 |
| 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 %}
|
16 |
{% if profile.aboutme %}
|
|
17 |
<br><h4>About Me</h4><hr>{{ profile.aboutme }}
|
|
18 |
{% endif %}
|
|
19 |
{% if profile.nick %}
|
|
20 |
<br><h4>Nick Name</h4><hr>{{ profile.nick }}
|
|
21 |
{% endif %}
|
|
22 |
{% if profile.dob %}
|
|
23 |
<br><h4>Date of Birth</h4><hr>{{ profile.dob }}
|
|
24 |
{% endif %}
|
|
25 |
{% if profile.credits %}
|
|
26 |
<br><h4>Credits</h4><hr>{{ profile.credits }}
|
|
27 |
{% endif %}
|
|
28 |
{% if profile.foss_comm %}
|
|
29 |
<br><h4>Foss Community</h4><hr>{{ profile.foss_comm }}
|
|
30 |
{% endif %}
|
|
31 |
{% if profile.phonenum %}
|
|
32 |
<br><h4>Phone Number</h4><hr>{{ profile.phonenum }}
|
|
33 |
{% endif %}
|
|
34 |
{% if profile.homepage %}
|
|
35 |
<br><h4>Homepage</h4><hr>{{ profile.homepage }}
|
|
36 |
{% endif %}
|
|
37 |
{% if profile.street or profile.city or profile.country %}
|
|
38 |
<br><h4>Address</h4><hr> |
|
39 |
{% if profile.street %}
|
|
40 |
{{ profile.street }}
|
|
41 |
<br> |
|
42 |
{% endif %}
|
|
43 |
{% if profile.city %}
|
|
44 |
{{ profile.city }}
|
|
45 |
<br> |
|
46 |
{% endif %}
|
|
47 |
{% if profile.country %}
|
|
48 |
{{ profile.country }}
|
|
49 |
{% endif %}
|
|
50 |
{% endif %}
|
|
| 24 | 51 |
{% endblock %}
|