moved config to a json, which makes adding more variables easier, but perhaps otherwise adds complexity
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
{%- from 'moderator.html' import moderate_thread with context %}
|
||||
|
||||
{%- block content %}
|
||||
<p><span> « </span><a href="{{ url_for('forum', forum_id = forum_id) }}">{{ forum_title }}</a></p>
|
||||
<p>
|
||||
<span> « </span><a href="{{ url_for('forum', forum_id = forum_id) }}">{{ forum_title }}</a>
|
||||
<span> » </span><a href="#end">Page end</a>
|
||||
</p>
|
||||
{%- if user is not none and user.is_moderator() -%}
|
||||
<p>{{ moderate_thread(thread_id, hidden) }}</p>
|
||||
{%- endif -%}
|
||||
@@ -15,4 +18,7 @@
|
||||
{%- for c in comments %}
|
||||
{{- render_comment(c, thread_id) }}
|
||||
{%- endfor %}
|
||||
<p>
|
||||
<span> » </span><a href="#top">Page top</a>
|
||||
</p>
|
||||
{%- endblock %}
|
||||
|
||||
Reference in New Issue
Block a user