{% for entity in comment_list %}
{#
{% if entity.parentComment is not null %}
{% set entity = entity.parentComment %}
{% endif %}
#}
{% set replies = d2_comment_get_all_replies(entity.id) %}
{% if replies|length > 0 %}
{% for reply in replies %}
{% endfor %}
{% endif %}
{% endfor %}
Type |
{{ knp_pagination_sortable(comment_list, 'Status', 'cs.enabled') }} |
{{ knp_pagination_sortable(comment_list, 'Contributor', 'c.customer') }} |
{{ knp_pagination_sortable(comment_list, 'Comment', 'cs.comment') }} |
{{ knp_pagination_sortable(comment_list, 'Date', 'cs.date') }} |
|
COMMENT |
) }}) |
{% if entity.getCustomer is not null %}{{ entity.getCustomer.getFirstname|trim }} {{ entity.getCustomer.getLastname|trim }}{% endif %} |
{{ entity.date|date("Y/m/d") }} |
{% if is_granted('ROLE_ADMIN_CASE_STUDY_MANAGE') %}
{% endif %}
|
REPLY |
) }}) |
{% if reply.getCustomer is not null %}{{ reply.getCustomer.getFirstname|trim }} {{ reply.getCustomer.getLastname|trim }}{% endif %} |
{{ reply.date|date("Y/m/d") }} |
{% if is_granted('ROLE_ADMIN_CASE_STUDY_MANAGE') %}
{% if entity.enabled %}
{% endif %}
{% endif %}
|