Update boardlist on thread display

This commit is contained in:
Michael Walker 2014-11-13 00:33:35 +00:00
parent f56d217c3d
commit b524543bc7

View File

@ -10,8 +10,10 @@
{% include 'header.html' %} {% include 'header.html' %}
<title>{{ board.url }} - {% if config.thread_subject_in_title and thread.subject %}{{ thread.subject }}{% else %}{{ board.title|e }}{% endif %}</title> <title>{{ board.url }} - {% if config.thread_subject_in_title and thread.subject %}{{ thread.subject }}{% else %}{{ board.title|e }}{% endif %}</title>
</head> </head>
<body> <body id="thread">
<div class="topbar">
{{ boardlist.top }} {{ boardlist.top }}
</div>
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %} {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
{% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} {% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
<header> <header>
@ -30,8 +32,6 @@
{% include 'attention_bar.html' %} {% include 'attention_bar.html' %}
<div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
{{ config.ad.top }} {{ config.ad.top }}
{% include 'post_form.html' %} {% include 'post_form.html' %}
@ -47,8 +47,6 @@
<a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
<a href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a> <a href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a>
{{ boardlist.bottom }}
{{ config.ad.bottom }} {{ config.ad.bottom }}
<footer> <footer>