diff options
| author | Simon McFarlane <simon@piston.pw> | 2015-01-24 22:35:22 +0100 |
|---|---|---|
| committer | root <root@62-210-99-163.online.net> | 2015-01-24 23:49:59 +0100 |
| commit | 41b9a3d52e76ff8da99ad3ffdd6894bc9d32fa0d (patch) | |
| tree | cfe18d7c2aca4a8215aebedecad0a0cf1c7064d7 /templates/themes | |
| parent | 69af733856c8dd8ce04164818b57c287f0284c55 (diff) | |
Apply hotwheels' catalog patch
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/catalog/catalog.html | 22 |
1 files 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 %} <img src="{{post.file}}" {% endif %} - id="img-{{ post.id }}" data-subject="{% if post.subject %}{{ post.subject }}{% endif %}" data-name="{{ post.name }}" data-muhdifference="{{ post.muhdifference }}" data-last-reply="{% if post.last_reply %}{{ post.last_reply }}{% endif %}" data-last-subject="{% if post.last_reply_subject %}{{ post.last_reply_subject }}{% endif %}" data-last-name="{% if post.last_reply %}{{ post.last_reply_name }}{% endif %}" data-last-difference="{% if post.last_reply %}{{ post.last_reply_difference }}{% endif %}" class="{{post.board}} thread-image" title="{{post.bump|date('%b %d %H:%M')}}"> + 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')}}"> </a> - <p> - <span class="replies"> - <strong>R: {{ post.reply_count }} / I: {{ post.image_count }}</strong><br/> - {{ post.body }} - </span> - </p> + <div class="replies"> + <strong>R: {{ post.reply_count }} / I: {{ post.image_count }}</strong> + {% if post.subject %} + <p class="intro"> + <span class="subject"> + {{ post.subject|e }} + </span> + </p> + {% else %} + <br /> + {% endif %} + + {{ post.body }} + </div> </div> </li> {% endfor %} |
