comparison gpp/templates/forums/display_post.html @ 344:7eed448b399c

Fix #162; make username larger in forum posts.
author Brian Neal <bgneal@gmail.com>
date Sun, 27 Feb 2011 22:58:48 +0000
parents cfad8d605cb8
children 59aaba88405e
comparison
equal deleted inserted replaced
343:cfad8d605cb8 344:7eed448b399c
2 {% load avatar_tags %} 2 {% load avatar_tags %}
3 {% load forum_tags %} 3 {% load forum_tags %}
4 <tr class="forum-post {% cycle 'odd' 'even' %}" id="post-{{ post.id }}"> 4 <tr class="forum-post {% cycle 'odd' 'even' %}" id="post-{{ post.id }}">
5 <td class="forum-post-author"> 5 <td class="forum-post-author">
6 <a name="p{{ post.id }}"></a> 6 <a name="p{{ post.id }}"></a>
7 <a href="{% url 'bio-view_profile' username=post.user.username %}" title="View Profile for {{ post.user.username }}">{{ post.user.username }}</a><br /> 7 <a href="{% url 'bio-view_profile' username=post.user.username %}" title="View Profile for {{ post.user.username }}"><span class="post-author">{{ post.user.username }}</span></a><br />
8 <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a> 8 <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a><br />
9 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br /> 9 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br />
10 Posts: {{ post.user.user_profile.forum_post_count }}<br /> 10 Posts: {{ post.user.user_profile.forum_post_count }}<br />
11 {% if post.user.user_profile.location %} 11 {% if post.user.user_profile.location %}
12 Location: {{ post.user.user_profile.location }}<br /> 12 {{ post.user.user_profile.location }}<br />
13 {% endif %} 13 {% endif %}
14 {% for bo in post.user.user_profile.badge_ownership %} 14 {% for bo in post.user.user_profile.badge_ownership %}
15 <img src="{{ bo.badge.image.url }}" alt="{{ bo.badge_count_str }}" title="{{ bo.badge_count_str }}" /> 15 <img src="{{ bo.badge.image.url }}" alt="{{ bo.badge_count_str }}" title="{{ bo.badge_count_str }}" />
16 {% endfor %} 16 {% endfor %}
17 {% if user.is_authenticated %} 17 {% if user.is_authenticated %}