##// END OF EJS Templates
Refactored required tags validation a bit
Refactored required tags validation a bit

File last commit:

r1097:855ea92d default
r1100:ee1fd200 default
Show More
thread.html
38 lines | 1.3 KiB | text/html | HtmlLexer
{% extends "boards/base.html" %}
{% load i18n %}
{% load cache %}
{% load static from staticfiles %}
{% load board %}
{% load tz %}
{% block head %}
<title>{{ opening_post.get_title|striptags|truncatewords:10 }}
- {{ site_name }}</title>
{% endblock %}
{% block metapanel %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_timezone as TIME_ZONE %}
<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 }}">
{% block thread_meta_panel %}
{% endblock %}
{% cache 600 thread_meta thread.last_edit_time moderator LANGUAGE_CODE TIME_ZONE %}
<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>]
{% endcache %}
</span>
{% endblock %}