Mercurial > public > sg101
comparison gpp/templates/forums/display_post.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 | 98d658afd4bf |
children | fad7548b7f6e |
comparison
equal
deleted
inserted
replaced
203:40e5903903e1 | 204:b4305e18d3af |
---|---|
8 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br /> | 8 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br /> |
9 Posts: {{ post.user_profile.forum_post_count }}<br /> | 9 Posts: {{ post.user_profile.forum_post_count }}<br /> |
10 {% if post.user_profile.location %} | 10 {% if post.user_profile.location %} |
11 Location: {{ post.user_profile.location }}<br /> | 11 Location: {{ post.user_profile.location }}<br /> |
12 {% endif %} | 12 {% endif %} |
13 {% for bo in post.user_profile.badge_ownership %} | |
14 <img src="{{ bo.badge.image.url }}" alt="{{ bo.badge_count_str }}" title="{{ bo.badge_count_str }}" /> | |
15 {% endfor %} | |
13 {% if user.is_authenticated %} | 16 {% if user.is_authenticated %} |
14 <p> | 17 <p> |
15 <a href="{% url messages-compose_to post.user.username %}"> | 18 <a href="{% url messages-compose_to post.user.username %}"> |
16 <img src="{{ MEDIA_URL }}icons/note.png" alt="PM" title="Send Private Message to {{ post.user.username }}" /></a> | 19 <img src="{{ MEDIA_URL }}icons/note.png" alt="PM" title="Send Private Message to {{ post.user.username }}" /></a> |
17 {% if not post.user_profile.hide_email %}<a href="mailto:{{ post.user.email }}"> | 20 {% if not post.user_profile.hide_email %}<a href="mailto:{{ post.user.email }}"> |