pytask/templates/user/my_profile.html
author anoop
Mon, 01 Feb 2010 16:52:34 +0530
changeset 21 3e676fa948c4
parent 17 9ca9f98af0eb
child 22 943a35c14cf7
permissions -rw-r--r--
changed the view my profile template.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
9ca9f98af0eb added files edit_profile.html and my_profile.html.
anoop
parents:
diff changeset
     1
{% extends 'base.html' %}
21
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     2
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     3
{% block title %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     4
    {{ profile.user }}'s Profile
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     5
{% endblock %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     6
17
9ca9f98af0eb added files edit_profile.html and my_profile.html.
anoop
parents:
diff changeset
     7
{% block content %}
21
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
     8
    <!--{{ view_profile_form.as_p }}-->
17
9ca9f98af0eb added files edit_profile.html and my_profile.html.
anoop
parents:
diff changeset
     9
21
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    10
    <h2>{{ profile }}'s Profile</h2><hr>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    11
    {% if edit_profile %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    12
        <a href="/user/edit/">edit profile</a>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    13
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    14
    <hr>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    15
    {% if profile.aboutme %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    16
        <br><h4>About Me</h4><hr>{{ profile.aboutme }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    17
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    18
    {% if profile.nick %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    19
        <br><h4>Nick Name</h4><hr>{{ profile.nick }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    20
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    21
    {% if profile.dob %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    22
        <br><h4>Date of Birth</h4><hr>{{ profile.dob }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    23
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    24
    {% if profile.credits %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    25
        <br><h4>Credits</h4><hr>{{ profile.credits }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    26
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    27
    {% if profile.foss_comm %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    28
        <br><h4>Foss Community</h4><hr>{{ profile.foss_comm }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    29
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    30
    {% if profile.phonenum %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    31
        <br><h4>Phone Number</h4><hr>{{ profile.phonenum }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    32
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    33
    {% if profile.homepage %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    34
        <br><h4>Homepage</h4><hr>{{ profile.homepage }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    35
    {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    36
    {% if profile.street or profile.city or profile.country %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    37
        <br><h4>Address</h4><hr>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    38
        {% if profile.street %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    39
            {{ profile.street }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    40
            <br>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    41
        {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    42
        {% if profile.city %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    43
            {{ profile.city }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    44
            <br>
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    45
        {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    46
        {% if profile.country %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    47
            {{ profile.country }}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    48
        {% endif %}
3e676fa948c4 changed the view my profile template.
anoop
parents: 17
diff changeset
    49
    {% endif %}
17
9ca9f98af0eb added files edit_profile.html and my_profile.html.
anoop
parents:
diff changeset
    50
{% endblock %}