##// END OF EJS Templates
If file type is unknown, treat it as application/octet-stream
If file type is unknown, treat it as application/octet-stream

File last commit:

r1399:d814364f default
r1579:e6e99b89 default
Show More
thread.html
43 lines | 1.9 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_or_text }} - {{ 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 }}">
{% with replies_count=thread.get_reply_count%}
<span id="reply-count">{{ thread.get_reply_count }}</span>{% if thread.has_post_limit %}/{{ thread.max_posts }}{% endif %}
<span id="message-count-text">{% blocktrans count repliess_count=replies_count %}message{% plural %}messages{% endblocktrans %}</span>,
{% endwith %}
{% with images_count=thread.get_images_count%}
<span id="image-count">{{ images_count }}</span> <span id="image-count-text">{% blocktrans count count=images_count %}image{% plural %}images{% endblocktrans %}</span>.
{% endwith %}
{% trans 'Last update: ' %}<span id="last-update"><time datetime="{{ thread.last_edit_time|date:'c' }}">{{ thread.last_edit_time }}</time></span>
</span>
{% endblock %}