##// END OF EJS Templates
Same as previous, but even more
Same as previous, but even more

File last commit:

r1251:4fe90b1b default
r1310:c48ffdc6 2.9.0 default
Show More
thread.html
40 lines | 1.6 KiB | text/html | HtmlLexer
{% extends "boards/base.html" %}
{% load i18n %}
{% load static from staticfiles %}
{% load board %}
{% load tz %}
{% block head %}
<title>{{ opening_post.get_title|striptags|truncatewords:10 }}
- {{ site_name }}</title>
{% endblock %}
{% block content %}
<div class="image-mode-tab">
<a {% ifequal mode 'normal' %}class="current_mode"{% endifequal %} href="{% url 'thread' opening_post.id %}">{% trans 'Normal' %}</a>,
<a {% ifequal mode 'gallery' %}class="current_mode"{% endifequal %} href="{% url 'thread_gallery' opening_post.id %}">{% trans 'Gallery' %}</a>,
<a {% ifequal mode 'tree' %}class="current_mode"{% endifequal %} href="{% url 'thread_tree' opening_post.id %}">{% trans 'Tree' %}</a>
</div>
{% block thread_content %}
{% endblock %}
{% endblock %}
{% block metapanel %}
<span class="metapanel"
data-last-update="{{ last_update }}"
data-ws-token-time="{{ ws_token_time }}"
data-ws-token="{{ ws_token }}"
data-ws-project="{{ ws_project }}"
data-ws-host="{{ ws_host }}"
data-ws-port="{{ ws_port }}">
<span id="reply-count">{{ thread.get_reply_count }}</span>{% if thread.has_post_limit %}/{{ thread.max_posts }}{% endif %} {% trans 'messages' %},
<span id="image-count">{{ thread.get_images_count }}</span> {% trans 'images' %}.
{% trans 'Last update: ' %}<span id="last-update"><time datetime="{{ thread.last_edit_time|date:'c' }}">{{ thread.last_edit_time }}</time></span>
[<a href="rss/">RSS</a>]
</span>
{% endblock %}