{#- Pieces of the task panel's conversation (HOG-37), shared by the panel and its "earlier comments" fragment. -#}
{% from "macros.html" import badges, icon, tile with context %}
{% macro comment(c) -%}
{#- data-v changes when the comment is edited, deleted or its question answered: the panel poll replaces it then. -#}
{{ tile(c.author) }}
@{{ c.author.handle }}{{ badges(c.author) }} ยท
{% if c.kind == "question" %}Question{% if not (question and question.id == c.id) %} {{ icon("check") }}Answered{% endif %}{% endif %}
{% if c.deleted %}
[deleted]
{% else %}
{{ md(c.body_md) }}
{% endif %}
{%- endmacro %}
{#- At least `count` (up to 10) older comments exist before comment `before`; they load on demand. -#}
{% macro earlier(count, before) -%}
{% if count %}
{% endif %}
{%- endmacro %}