Mercurial > public > sg101
comparison gpp/templates/bio/view_profile.html @ 204:b4305e18d3af
Resolve ticket #74. Add user badges. Some extra credit was done here: also refactored how pending news, links, and downloads are handled.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 01 May 2010 21:53:59 +0000 |
parents | d51743322bb2 |
children | a46788862737 |
comparison
equal
deleted
inserted
replaced
203:40e5903903e1 | 204:b4305e18d3af |
---|---|
53 {% if profile.signature_html %} | 53 {% if profile.signature_html %} |
54 <tr><th>Signature</th><td>{{ profile.signature_html|safe }}</td></tr> | 54 <tr><th>Signature</th><td>{{ profile.signature_html|safe }}</td></tr> |
55 {% endif %} | 55 {% endif %} |
56 <tr><th>Elsewhere</th><td>{% elsewhere_links subject %}</td></tr> | 56 <tr><th>Elsewhere</th><td>{% elsewhere_links subject %}</td></tr> |
57 <tr><th>Time Zone</th><td>{{ profile.time_zone }}</td></tr> | 57 <tr><th>Time Zone</th><td>{{ profile.time_zone }}</td></tr> |
58 <tr><th>Badges</th><td> | |
59 {% if badge_collection %} | |
60 <table id="badge_summary"> | |
61 <tr><th>Badge</th><th>Qty.</th><th>Name</th><th>Description</th></tr> | |
62 {% for bo in badge_collection %} | |
63 <tr><td>{{ bo.badge.html|safe }}</td><td>{{ bo.count }}</td><td>{{ bo.badge.name }}</td><td>{{ bo.badge.description }}</td></tr> | |
64 {% endfor %} | |
65 </table> | |
66 {% endif %} | |
67 </td></tr> | |
58 </table> | 68 </table> |
59 </div> | 69 </div> |
60 {% if this_is_me %} | 70 {% if this_is_me %} |
61 <ul class="icon-list"> | 71 <ul class="icon-list"> |
62 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> | 72 <li><a href="{% url bio-edit_profile %}"><img src="{{ MEDIA_URL }}icons/application_edit.png" alt="Edit Profile" /></a> |