templates/user/my_profile.html
changeset 67 a18d7a0f9b46
parent 65 8ac0ce6cfd66
child 208 ba839dd7c7d7
equal deleted inserted replaced
66:f670de53402b 67:a18d7a0f9b46
    10     <h2>{{ profile }}'s Profile</h2>
    10     <h2>{{ profile }}'s Profile</h2>
    11     <hr>
    11     <hr>
    12     {% if edit_profile %}
    12     {% if edit_profile %}
    13         <a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a>
    13         <a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a>
    14         <hr>
    14         <hr>
       
    15     {% endif %}
       
    16     {% if profile.photo %}
       
    17         <a href={{ profile.photo.url }}>
       
    18         <img border="0" height="200" src={{ profile.photo.url }}>
       
    19         </a>
    15     {% endif %}
    20     {% endif %}
    16     {% if profile.aboutme %}
    21     {% if profile.aboutme %}
    17         <br><h4>About Me</h4><hr>{{ profile.aboutme }}
    22         <br><h4>About Me</h4><hr>{{ profile.aboutme }}
    18     {% endif %}
    23     {% endif %}
    19     {% if profile.nick %}
    24     {% if profile.nick %}