changeset 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 f7fbb404241f
files gpp/templates/forums/display_post.html static/css/base.css
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html	Sun Feb 27 22:12:18 2011 +0000
+++ b/gpp/templates/forums/display_post.html	Sun Feb 27 22:58:48 2011 +0000
@@ -4,12 +4,12 @@
 <tr class="forum-post {% cycle 'odd' 'even' %}" id="post-{{ post.id }}">
    <td class="forum-post-author">
       <a name="p{{ post.id }}"></a>
-      <a href="{% url 'bio-view_profile' username=post.user.username %}" title="View Profile for {{ post.user.username }}">{{ post.user.username }}</a><br />
-      <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a>
+      <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 />
+      <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a><br />
       Joined: {{ post.user.date_joined|date:"M d, Y" }}<br />
       Posts: {{ post.user.user_profile.forum_post_count }}<br />
       {% if post.user.user_profile.location %}
-      Location: {{ post.user.user_profile.location }}<br />
+         {{ post.user.user_profile.location }}<br />
       {% endif %}
       {% for bo in post.user.user_profile.badge_ownership %}
          <img src="{{ bo.badge.image.url }}" alt="{{ bo.badge_count_str }}" title="{{ bo.badge_count_str }}" />
--- a/static/css/base.css	Sun Feb 27 22:12:18 2011 +0000
+++ b/static/css/base.css	Sun Feb 27 22:58:48 2011 +0000
@@ -408,3 +408,6 @@
 a.intra {
  text-decoration: none;
 }
+.post-author {
+   font-size: medium;
+}