add motd editor and motd display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% from 'common/macros.html' import timestamp, subheader %}
|
||||
{% from 'common/macros.html' import timestamp, subheader, motd %}
|
||||
{% from 'common/icons.html' import icn_locked %}
|
||||
{%- extends 'base.html' -%}
|
||||
{%- block content -%}
|
||||
@@ -7,10 +7,11 @@
|
||||
<fieldset class="plank even no-shadow minimal thread-actions">
|
||||
<legend>Moderation actions</legend>
|
||||
<a href="{{url_for('mod.new_topic')}}" class="linkbutton">New topic</a>
|
||||
<a href="{{url_for('mod.sort_topics')}}" class="linkbutton">Sort topics</a>
|
||||
<a href="{{url_for('mod.index', _anchor='sort-topics')}}" class="linkbutton">Sort topics</a>
|
||||
</fieldset>
|
||||
{%- endif -%}
|
||||
{%- endcall -%}
|
||||
{{ motd(get_motds()) }}
|
||||
{%- for topic in topics -%}
|
||||
<div class="topic-info plank">
|
||||
<div class="title-container">
|
||||
|
||||
Reference in New Issue
Block a user