Add threads to reports

This commit is contained in:
rubenwardy
2025-08-26 19:14:47 +01:00
parent 310f1baa09
commit 6e2d8b1974
3 changed files with 45 additions and 7 deletions

View File

@@ -83,4 +83,16 @@
</article>
{% endif %}
<article>
<h2>Thread</h2>
{% if report.thread %}
{% from "macros/threads.html" import render_thread %}
{{ render_thread(report.thread, current_user, form=False) }}
{% else %}
<p>
No thread.
</p>
{% endif %}
</article>
{% endblock %}