Add some more forum styling
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
<a name="reply-{{post.id}}"></a>
|
||||
<div class="forum-post-user">
|
||||
<div class="byline">
|
||||
{%avatar post.user%}
|
||||
<a href="{{post.user.get_absolute_url}}">
|
||||
<div class="avatar">{%avatar post.user%}</div>
|
||||
{{post.user}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dateline">
|
||||
|
@@ -22,7 +22,7 @@ Home
|
||||
{% if topics %}
|
||||
{% for topic in topics %}
|
||||
<tr class="{%cycle 'even' 'odd' %} {% if topic.sticky %}sticky{% endif %} topic">
|
||||
<td class="topic-link"><ul><li class="link"><a href="{{topic.get_absolute_url}}">{{ topic.title }}</a></li><li>Started by {{topic.rootPost.user}} {{topic.created|timesince}} ago</li></ul></td>
|
||||
<td class="topic-link"><ul><li class="link">{% if topic.sticky %}Sticky: {% endif%}<a href="{{topic.get_absolute_url}}">{{ topic.title }}</a></li><li>Started by {{topic.rootPost.user}} {{topic.created|timesince}} ago</li></ul></td>
|
||||
<td class="author-info"><div class="avatar">{% avatar topic.lastPost.user 32 %}</div><ul><li>{{topic.lastPost.user}}</li><li>{{topic.created|timesince}} ago</li></ul></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user