restructure for docker
This commit is contained in:
16
forum/templates/comments.html
Normal file
16
forum/templates/comments.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends 'base.html' %}
|
||||
{% from 'comment.html' import render_comment, render_comment_pre, render_comment_post, reply with context %}
|
||||
|
||||
{% block content %}
|
||||
<p><span> « </span><a href="{{ url_for('forum', forum_id = forum_id) }}">{{ forum_title }}</a><span> « </span><a href="{{ url_for('thread', thread_id = thread_id) }}">{{ title }}</a></p>
|
||||
{{ render_comment_pre(reply_comment, thread_id, comments | length == 0) }}
|
||||
|
||||
{{ reply() }}
|
||||
|
||||
{% for c in comments %}
|
||||
{{ render_comment(c, thread_id) }}
|
||||
{% endfor %}
|
||||
|
||||
{{ render_comment_post(reply_comment, thread_id) }}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user