Mercurial > public > sg101
comparison gpp/templates/bio/view_profile.html @ 31:5eed5e7c1c98
Remove fields in the user profile that were superceded by the django-elsewhere application: website, icq, aim, etc.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 May 2009 20:27:57 +0000 |
parents | 74f04122295e |
children | c0d3b09c9b95 |
comparison
equal
deleted
inserted
replaced
30:a39907cd63e2 | 31:5eed5e7c1c98 |
---|---|
22 <tr><th>Birthday</th><td>{{ profile.birthday|date:"F d" }}</td></tr> | 22 <tr><th>Birthday</th><td>{{ profile.birthday|date:"F d" }}</td></tr> |
23 {% endif %} | 23 {% endif %} |
24 {% if profile.interests %} | 24 {% if profile.interests %} |
25 <tr><th>Interests</th><td>{{ profile.interests }}</td></tr> | 25 <tr><th>Interests</th><td>{{ profile.interests }}</td></tr> |
26 {% endif %} | 26 {% endif %} |
27 {% if profile.website_1 %} | |
28 <tr><th>Website 1</th><td><a href="{{ profile.website_1 }}">{{ profile.website_1 }}</a></td></tr> | |
29 {% endif %} | |
30 {% if profile.website_2 %} | |
31 <tr><th>Website 2</th><td><a href="{{ profile.website_2 }}">{{ profile.website_2 }}</a></td></tr> | |
32 {% endif %} | |
33 {% if profile.website_3 %} | |
34 <tr><th>Website 3</th><td><a href="{{ profile.website_3 }}">{{ profile.website_3 }}</a></td></tr> | |
35 {% endif %} | |
36 {% if not profile.hide_email %} | 27 {% if not profile.hide_email %} |
37 <tr><th>Email</th><td>{{ subject.email }}</td></tr> | 28 <tr><th>Email</th><td>{{ subject.email }}</td></tr> |
38 {% endif %} | 29 {% endif %} |
39 {% if profile.icq %} | 30 {% if profile.icq %} |
40 <tr><th>ICQ</th><td>{{ profile.icq }}</td></tr> | 31 <tr><th>ICQ</th><td>{{ profile.icq }}</td></tr> |
41 {% endif %} | |
42 {% if profile.aim %} | |
43 <tr><th>AIM</th><td>{{ profile.aim }}</td></tr> | |
44 {% endif %} | |
45 {% if profile.yim %} | |
46 <tr><th>YIM</th><td>{{ profile.yim }}</td></tr> | |
47 {% endif %} | |
48 {% if profile.msnm %} | |
49 <tr><th>MSN</th><td>{{ profile.msnm }}</td></tr> | |
50 {% endif %} | |
51 {% if profile.twitter %} | |
52 <tr><th>Twitter</th><td><a href="{{ profile.twitter }}">{{ profile.twitter }}</a></td></tr> | |
53 {% endif %} | 32 {% endif %} |
54 {% if profile.profile_html %} | 33 {% if profile.profile_html %} |
55 <tr><th>Profile</th><td>{{ profile.profile_html|safe }}</td></tr> | 34 <tr><th>Profile</th><td>{{ profile.profile_html|safe }}</td></tr> |
56 {% endif %} | 35 {% endif %} |
57 {% if profile.signature_html %} | 36 {% if profile.signature_html %} |
64 <ul class="icon-list"> | 43 <ul class="icon-list"> |
65 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> | 44 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> |
66 <a href="{% url bio-edit_profile %}">Edit Profile</a></li> | 45 <a href="{% url bio-edit_profile %}">Edit Profile</a></li> |
67 <li><a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> | 46 <li><a href="{% url bio-change_avatar %}"><img src="{{ MEDIA_URL }}icons/image_edit.png" alt="Change Avatar" /></a> |
68 <a href="{% url bio-change_avatar %}">Change Avatar</a></li> | 47 <a href="{% url bio-change_avatar %}">Change Avatar</a></li> |
48 <li><a href="{% url bio-edit_elsewhere %}"><img src="{{ MEDIA_URL }}icons/link_edit.png" alt="Edit Links" /></a> | |
49 <a href="{% url bio-edit_elsewhere %}">Edit Elsewhere Links</a></li> | |
69 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> | 50 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> |
70 <a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li> | 51 <a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li> |
71 </ul> | 52 </ul> |
72 {% else %} | 53 {% else %} |
73 {% if user.is_authenticated %} | 54 {% if user.is_authenticated %} |