templates/web/pages/_components/comment-box-reply.html.twig line 1

Open in your IDE?
  1. <div class="discussion-comment discussion-comment--reply">
        <div class="discussion-comment__initial">
            {{ comment.client.name|slice(0, 2) }}
        </div>
        <div class="discussion-comment__info">
            <div class="discussion-comment__author">{{ comment.client.name }}</div>
            <div class="discussion-comment__date">{{ comment.submitted|date("d.m.Y, H:i") }}</div>
        </div>
        <div class="discussion-comment__main">
            <p class="discussion-comment__message"><span class="font-weight-bold">@{{ respondedTo.name }}</span> {{ comment.content }}</p>
            {% if is_granted('IS_AUTHENTICATED_FULLY') == true %}
            <a href="#" data-comment-id="{{ comment.id }}" class="discussion-comment__reply-link spawn-comment-form">Odpovědět</a>
            {% endif %}
        </div>
    </div>
    {% if comment.underComment|length > 0 %}
        {% for c in comment.underComment %}
            {% include 'web/pages/_components/comment-box-reply.html.twig' with {'comment' : c,  'respondedTo': comment.client} %}
        {% endfor %}
    {% endif %}