Mercurial > public > sg101
comparison gpp/templates/bio/view_profile.html @ 29:74f04122295e
Initial integration of django-elsewhere.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 May 2009 20:14:04 +0000 |
parents | dbd703f7d63a |
children | 5eed5e7c1c98 |
comparison
equal
deleted
inserted
replaced
28:04377c5bf912 | 29:74f04122295e |
---|---|
1 {% extends 'bio/base.html' %} | 1 {% extends 'bio/base.html' %} |
2 {% load avatar_tags %} | 2 {% load avatar_tags %} |
3 {% load elsewhere_tags %} | |
3 {% block title %}User Profile for {{ subject.username }}{% endblock %} | 4 {% block title %}User Profile for {{ subject.username }}{% endblock %} |
4 {% block content %} | 5 {% block content %} |
5 <div class="user_profile"> | 6 <div class="user_profile"> |
6 <h2>User Profile for {{ subject.username }}</h2> | 7 <h2>User Profile for {{ subject.username }}</h2> |
7 <p>{% avatar subject %}</p> | 8 <p>{% avatar subject %}</p> |
54 <tr><th>Profile</th><td>{{ profile.profile_html|safe }}</td></tr> | 55 <tr><th>Profile</th><td>{{ profile.profile_html|safe }}</td></tr> |
55 {% endif %} | 56 {% endif %} |
56 {% if profile.signature_html %} | 57 {% if profile.signature_html %} |
57 <tr><th>Signature</th><td>{{ profile.signature_html|safe }}</td></tr> | 58 <tr><th>Signature</th><td>{{ profile.signature_html|safe }}</td></tr> |
58 {% endif %} | 59 {% endif %} |
60 <tr><th>Elsewhere</th><td>{% elsewhere_links subject %}</td></tr> | |
59 </table> | 61 </table> |
60 </div> | 62 </div> |
61 {% if this_is_me %} | 63 {% if this_is_me %} |
62 <ul> | 64 <ul class="icon-list"> |
63 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> | 65 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> |
64 <a href="{% url bio-edit_profile %}">Edit Profile</a></li> | 66 <a href="{% url bio-edit_profile %}">Edit Profile</a></li> |
65 <li><a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> | 67 <li><a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> |
66 <a href="{% url bio-change_avatar %}">Change Avatar</a></li> | 68 <a href="{% url bio-change_avatar %}">Change Avatar</a></li> |
67 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> | 69 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> |