From 41b9a3d52e76ff8da99ad3ffdd6894bc9d32fa0d Mon Sep 17 00:00:00 2001 From: Simon McFarlane Date: Sat, 24 Jan 2015 22:35:22 +0100 Subject: [PATCH] Apply hotwheels' catalog patch --- templates/themes/catalog/catalog.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index ca5e57f6..45239c5b 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -54,14 +54,22 @@ {% else %} + id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject|e }}{% endif %}" data-name="{{ post.name|e }}" data-muhdifference="{{ post.muhdifference }}" class="{{post.board}} thread-image" title="{{post.bump|date('%b %d %H:%M')}}"> -

- - R: {{ post.reply_count }} / I: {{ post.image_count }}
- {{ post.body }} -
-

+
+ R: {{ post.reply_count }} / I: {{ post.image_count }} + {% if post.subject %} +

+ + {{ post.subject|e }} + +

+ {% else %} +
+ {% endif %} + + {{ post.body }} +
{% endfor %}