{%- endif %}
{%- if commentobject.allow_new and not commentobject.hide %}
{%- endif %}
{%- if not commentobject.hide %}
{%- with numcomments=len:comments %}
{% if not commentobject.allow_new %}
{% trans %}Comments disabled{% end %}
{% else %}
{%- if numcomments == 0 %}
{%- elif numcomments == 1 %}
{% trans %}1 Comment{% end %}
{%- else %}
${numcomments} {% trans %}comments{% end %}
{%- endif %}
{%- endif %}
{%- endwith %}
{%- if comments %}
{% cache for 1d key [commentobject.id, commentobject.updates, bool:.user] %}
{%- for comment in commentgraph.root %}
{%- call "comment" %}
{%- endfor %}