aurweb/templates/account/comments.html
Kevin Morris dbe5cb4a33
fix(fastapi): only include comment-edit.js where needed
Closes: #178

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-11-18 16:42:26 -08:00

31 lines
868 B
HTML

{% extends "partials/layout.html" %}
{% block pageContent %}
<div class="box">
<h2>{{ "Accounts" | tr }}</h2>
<div class="comments">
<div class="comments-header">
<h3>
{{
"Comments for %s%s%s" | tr
| format('<a href="/account/%s">' | format(username),
username,
"</a>")
| safe
}}
</h3>
</div>
<!-- On-the-fly comment editing functions -->
<script type="text/javascript" src="/static/js/comment-edit.js"></script>
{% for comment in comments %}
{% include "partials/account/comment.html" %}
{% endfor %}
</div>
</div>
{% endblock %}