{% import "components/nothing.html" as nothing with context %} {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% if not ddocs.length %} {{ nothing.render('no discussion yet...') }} {% else %}
    {%- for ddoc in ddocs -%}
  1. {{ ddoc.nReply }}
    {{ _('Comments') }}
  2. {%- endfor -%}
{% if page != undefined and dpcount != undefined %} {{ paginator.render(page, dpcount) }} {% endif %} {% endif %}