<div id="comment-trail"
     tal:define="
       dummy view/portal/@@http-cache-headers;
       next_page_url view/next_page_url;
     "
     i18n:domain="ploneintranet"
>
  <p class="older-comments"
     id="older-comments-${here/id}"
     tal:condition="next_page_url"
  >
    <tal:i18n i18n:translate="label_showing_x_out_of_y_comments">
      Showing
      <tal:n i18n:name="current">${view/currently_displayed_comments}</tal:n>
      out of
      <tal:n i18n:name="total">${view/number_of_replies}</tal:n>
      comments.
    </tal:i18n>
    <a class="pat-inject"
       href="${next_page_url}"
       data-pat-inject="source: #comment-trail; target: #older-comments-${here/id}::element"
       i18n:translate=""
    >
      Load more&hellip;
    </a>
  </p>
  <tal:loop repeat="comment view/comments_in_current_page">
    <tal:view replace="structure comment/@@comment.html" />
  </tal:loop>
</div>
