##// END OF EJS Templates
Don't show 'replies' and 'images' texts in the thread
Don't show 'replies' and 'images' texts in the thread

File last commit:

r1770:038b4c85 default
r1770:038b4c85 default
Show More
thread.html
38 lines | 1.5 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 }}">
{% 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 %}
{% endwith %}
{% with images_count=thread.get_images_count%}
<span id="image-count">{{ images_count }}</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 %}