{% from 'comments/form.html' import comments_add_form %} {% macro pane_details(comment, form) %} {% if comment.user.file_picture_id %} {% set avatar_url = url_for("files.download", id_=comment.user.file_picture_id) %} {% else %} {% set avatar_url = url_for("static", filename="images/avatar-f.webp") %} {% endif %}
{{ comment.timestamp_created | format_datetime }}
{{ comment.text }}
{% if comment.timestamp_edited %}(This comment was updated on {{ comment.timestamp_edited | format_datetime }})
{% endif %}