{% load difftags djblets_utils i18n reviewtags %} {% if not comment.filediff.is_new %} {% endif %} {% if expandable_above or header %} {% if expandable_above %} {% endif %} {% if header.left or header.right %} {% if header.left.text == header.right.text and header.left.line == header.right.line %} {% else %} {% if not comment.filediff.is_new %} {% endif %} {% endif %} {% endif %} {% endif %} {% for chunk in chunks %} {# #} {% for line in chunk.lines %} {% if collapsible and line.0 == comment.first_line %} {% endif %} {% if not comment.filediff.is_new %} {% endif %} {% if collapsible and line.0 == comment.last_line %} {% endif %} {% endfor %} {% endfor %}{# chunks #} {% if expandable_below %} {% endif %}
{{comment.filediff.dest_file_display}} {% if comment.interfilediff %} (Diff revisions {{comment.filediff.diffset.revision}} - {{comment.interfilediff.diffset.revision}}) {% else %} (Diff revision {{comment.filediff.diffset.revision}}) {% endif %}
{% expand_fragment_link 'below' _('Show 20 more lines above') 20 0 %}
{% definevar 'link_text' %}{{lines_above}} lines{% enddefinevar %} {% expand_fragment_link 'all' _('Show all lines') lines_above 0 link_text %}
{% expand_fragment_header_link header.left %}
{% if header.left %} {% expand_fragment_header_link header.left %} {% endif %}
{% if header.right %} {% expand_fragment_header_link header.right %} {% endif %}
{{chunk.meta}}
{{line.1}} {% if collapsible and forloop.parentloop.first and forloop.first %}
{% endif %}
{{line.2|highlightregion:line.3|showextrawhitespace}}
{% if collapsible and forloop.parentloop.first and forloop.first %}
{% endif %}
{{line.4}} {% if collapsible and comment.filediff.is_new and forloop.parentloop.first and forloop.first %}
{% endif %}
{{line.5|highlightregion:line.6|showextrawhitespace}}
{% if collapsible and comment.filediff.is_new and forloop.parentloop.first and forloop.first %}
{% endif %}
{% expand_fragment_link 'above' _('Show 20 more lines below') 0 20 %}
{% definevar 'link_text' %}{{lines_below}} lines{% enddefinevar %} {% expand_fragment_link 'all' _('Show all lines') 0 lines_below link_text %}