{% from "macros/pagination.html" import pagination %}
{{ pagination(comments, current_url, current_page, '#tab-comments') }}

Comments

{% for comment in comments.hits %}

{% if request.user.has_perm('crashstats.view_pii') %} {{ comment.user_comments | nl2br}} {% else %} {{ comment.user_comments | scrub_pii | nl2br}} {% endif %}

Submitted: {{ comment.date_processed }}

{% if request.user.has_perm('crashstats.view_pii') %}

Email: {% if comment.email %}{{ comment.email }}{% endif %}

{% endif %}
{% endfor %} {{ pagination(comments, current_url, current_page, '#tab-comments') }}