Browse Source

Quick catalog theme bugfix

pull/40/head
Michael Foster 11 years ago
parent
commit
de4b5b3962
  1. 21
      templates/themes/catalog/catalog.html

21
templates/themes/catalog/catalog.html

@ -16,16 +16,17 @@
</header>
<ul>
{% for post in recent_posts %}
<a href="{{post.link}}">
<div class="thread">
<img src="{{post.file}}" class="{{post.board}}" title="{{post.bump|date('%b %d %H:%M')}}">
<span class="replies">
<strong>{{ post.reply_count }} {% if post.reply_count == 1 %}{% trans 'reply' %}{% else %}{% trans 'replies' %}{% endif %}</strong><br/>{{ post.body }}
</span>
</div>
</a>
{% endfor %}
{% for post in recent_posts %}
<div class="thread">
<a href="{{post.link}}">
<img src="{{post.file}}" class="{{post.board}}" title="{{post.bump|date('%b %d %H:%M')}}">
</a>
<span class="replies">
<strong>{{ post.reply_count }} {% if post.reply_count == 1 %}{% trans 'reply' %}{% else %}{% trans 'replies' %}{% endif %}</strong><br/>
{{ post.body }}
</span>
</div>
{% endfor %}
</ul>
<hr/>

Loading…
Cancel
Save