##// END OF EJS Templates
Merged with defaul
Merged with defaul

File last commit:

r1180:e46298a6 default
r1241:1b60b7d2 merge decentral
Show More
thread_gallery.html
39 lines | 1.2 KiB | text/html | HtmlLexer
{% extends "boards/thread.html" %}
{% load i18n %}
{% load static from staticfiles %}
{% load board %}
{% load tz %}
{% block head %}
<meta name="robots" content="noindex">
<title>{{ thread.get_opening_post.get_title|striptags|truncatewords:10 }}
- {{ site_name }}</title>
{% endblock %}
{% block thread_content %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_timezone as TIME_ZONE %}
<div id="posts-table">
{% if posts %}
{% for post in posts %}
<div class="gallery_image">
{% with post.get_first_image as image %}
{% autoescape off %}
{{ image.get_view }}
{% endautoescape %}
<div class="gallery_image_metadata">
{{ image.width }}x{{ image.height }}
{% image_actions image.image.url request.get_host %}
<br />
<a href="{{ post.get_absolute_url }}">>>{{ post.id }}</a>
</div>
{% endwith %}
</div>
{% endfor %}
{% else %}
{% trans 'No images.' %}
{% endif %}
</div>
{% endblock %}