{% for bug_key, bug_screenshots in bugs_screenshots.items %}
{% if bug == bug_key %}
{% if bug_screenshots %}
{% if bug_screenshots|length == 1 %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
0
{% with user_issue_upvoted_list=user.userprofile.issue_upvoted.all %}
{% if user_issue_upvoted_list and bug in user_issue_upvoted_list %}
{% endif %}
{% endwith %}
0
{% with user_issue_downvoted_list=user.userprofile.issue_downvoted.all %}
{% if user_issue_downvoted_list and bug in user_issue_downvoted_list %}
{% endif %}
{% endwith %}
{% if user.is_superuser %}
del |
edit
{% endif %}
{% with user_issue_flagged_list=user.userprofile.issue_flaged.all %}
{% if user_issue_flagged_list and bug in user_issue_flagged_list %}
{% endif %}
{% endwith %}