{# RELATED COLLECTIONS's #}

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

What do you think?

{% if comments_name == 'Case Study' %}

How do you feel about this {% trans %}Case Study{% endtrans %}? Add your comments below.

{% elseif comments_name == 'Collection' %}

How do you feel about this {% trans %}Collection{% endtrans %}? Add your comments below.

{% elseif comments_name == 'Resource' %}

How do you feel about this {% trans %}Resource{% endtrans %}? Add your comments below.

{% elseif comments_name == 'Expert' %}

How do you feel about this {% trans %}Expert{% endtrans %}? Add your comments below.

{% elseif comments_name == 'News Item' %}

How do you feel about this {% trans %}News Item{% endtrans %}? Add your comments below.

{% elseif comments_name == 'Advert' %}

How do you feel about this {% trans %}Advert{% endtrans %}? Add your comments below.

{% endif %}
{% 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 }}

{% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}