##// END OF EJS Templates
Show thread OPs in the landing page instead of link and title list
Show thread OPs in the landing page instead of link and title list

File last commit:

r1793:9acfb664 default
r1793:9acfb664 default
Show More
landing.html
41 lines | 1.1 KiB | text/html | HtmlLexer
{% extends "boards/base.html" %}
{% load i18n %}
{% load static %}
{% load board %}
{% block head %}
<title>{{ site_name }}</title>
{% endblock %}
{% block content %}
<div id="posts-table">
<div class="landing-images">
{% for image in images %}
<div class="gallery_image">
{{ image.get_view|safe }}
{% with image.get_random_associated_post as post %}
{{ post.get_link_view|safe }}
{% endwith %}
</div>
{% endfor %}
</div>
<br />
<div class="landing-tags">
{{ section_str|safe }}
</div>
<br />
<div class="landing-threads">
{% if latest_threads %}
{% trans "Active threads:" %}<br />
{% for op in latest_threads %}
<div class="thread">
{% post_view op truncated=True need_open_link=True %}
</div>
{% endfor %}
{% else %}
{% trans "No active threads today." %}
{% endif %}
</div>
</div>
{% endblock %}