{# RELATED COLLECTIONS's #}

{% if app.user %} Add your Comment? {% else %} Add your Comment? {% endif %}

What do you think?

How do you feel about this {{ comments_name }}? Add your comments below.

{% set comments = d2_get_comments(comment_item_type, comment_item_id) %} {% if comments|length > 0 %} {% for comment in comments %} {% if comment.enabled %} {% set replies = d2_comment_get_replies(comment_item_type, comment_item_id, comment.id) %}
{% if comment.customer.path %} CONTRIBUTOR {% else %} COLLECTION {% endif %}
{{ comment.customer.displayName|trim }}

Posted: {{ d2_comment_get_ago(comment.date) }}

{{ comment.comment|trim }}

{% if app.user %} Reply {% else %} Reply {% endif %}
{# REPLY SECTION #} {% for reply in replies %} {% if reply.enabled %}
{% if reply.customer.path %} CONTRIBUTOR {% else %} EXPERT {% endif %}
{{ reply.customer.displayName|trim }}

Posted: {{ d2_comment_get_ago(reply.date) }}

{{ reply.comment|trim }}

{# {% if app.user %} Reply {% else %} Reply {% endif %} #}
{% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}