add motd editor and motd display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% from 'common/macros.html' import timestamp, subheader, pager %}
|
||||
{% from 'common/macros.html' import timestamp, subheader, pager, motd %}
|
||||
{% from 'common/icons.html' import icn_locked, icn_stickied %}
|
||||
{%- extends 'base.html' -%}
|
||||
{%- block title -%}browsing topic {{topic.name}}{%- endblock -%}
|
||||
@@ -46,6 +46,7 @@
|
||||
{%- if threads | length == 0 -%}
|
||||
<div class="plank"><p>There are no threads in this topic yet.{%- if is_logged_in() and get_active_user().can_post_to_thread_or_topic(topic) %} Be the first to start a discussion!{%- endif -%}</p></div>
|
||||
{%- endif -%}
|
||||
{{ motd(get_motds()) }}
|
||||
{%- for thread in threads -%}
|
||||
<div class="topic-info plank">
|
||||
<div class="title-container">
|
||||
|
||||
Reference in New Issue
Block a user