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 |
|
27
|
10 |
<h2>{{ profile }}'s Profile</h2><hr>
|
|
11 |
{% if edit_profile %}
|
|
12 |
<a href="/user/edit/">edit profile</a>
|
|
13 |
{% endif %}
|
|
14 |
<hr>
|
|
15 |
{% if profile.aboutme %}
|
|
16 |
<br><h4>About Me</h4><hr>{{ profile.aboutme }}
|
|
17 |
{% endif %}
|
|
18 |
{% if profile.nick %}
|
|
19 |
<br><h4>Nick Name</h4><hr>{{ profile.nick }}
|
|
20 |
{% endif %}
|
|
21 |
{% if profile.dob %}
|
|
22 |
<br><h4>Date of Birth</h4><hr>{{ profile.dob }}
|
|
23 |
{% endif %}
|
|
24 |
{% if profile.credits %}
|
|
25 |
<br><h4>Credits</h4><hr>{{ profile.credits }}
|
|
26 |
{% endif %}
|
|
27 |
{% if profile.foss_comm %}
|
|
28 |
<br><h4>Foss Community</h4><hr>{{ profile.foss_comm }}
|
|
29 |
{% endif %}
|
|
30 |
{% if profile.phonenum %}
|
|
31 |
<br><h4>Phone Number</h4><hr>{{ profile.phonenum }}
|
|
32 |
{% endif %}
|
|
33 |
{% if profile.homepage %}
|
|
34 |
<br><h4>Homepage</h4><hr>{{ profile.homepage }}
|
|
35 |
{% endif %}
|
|
36 |
{% if profile.street or profile.city or profile.country %}
|
|
37 |
<br><h4>Address</h4><hr>
|
|
38 |
{% if profile.street %}
|
|
39 |
{{ profile.street }}
|
|
40 |
<br>
|
|
41 |
{% endif %}
|
|
42 |
{% if profile.city %}
|
|
43 |
{{ profile.city }}
|
|
44 |
<br>
|
|
45 |
{% endif %}
|
|
46 |
{% if profile.country %}
|
|
47 |
{{ profile.country }}
|
|
48 |
{% endif %}
|
|
49 |
{% endif %}
|
24
|
50 |
{% endblock %}
|