{% extends "base.html" %} {% block title %} 主页 {% endblock %} {% block content %}
讨论ID:{{ comment.id }} {% if current_user.role.has_permission(Role.CREATE_COMMENT) %} 添加子讨论 {% endif %}
{% if comment.title %}

{{ comment.title }}

{% endif %}

{{ comment.content }}

{{ comment.auth.email }}

{% if comment.father_id %} 查看父讨论
{% endif %} 子讨论个数:{{ comment.son_count }}
{{ show_time(comment.update_time) }}/{{ show_time(comment.create_time) }}

{% for i in comment_son %}
{% if i.title %}

{{ i.title }}

{% endif %}

{{ i.content }}

{{ i.auth.email }}

前往查看
子讨论个数:{{ i.son_count }}
{{ show_time(i.update_time) }}/{{ show_time(i.create_time) }}

{% endfor %}
{% endblock %}