{% load djblets_utils gravatars i18n reviewtags %}
{% if issues.total > 0 %}
{% trans "Issues" %}
{% for entry in entries %}
{% if entry.review %}
{% for comment_type, comments in entry.comments.items %}
{% for comment in comments %}
{% if comment.issue_opened %}
{% definevar "issue_link_attrs" %}class="issue-link {% rich_text_classname comment.rich_text %}" comment-type="{{comment.comment_type}}" issue-id="{{comment.id}}" href="#{{comment.anchor_prefix}}{{comment.id}}"{% enddefinevar %}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}