{% load i18n %} {% load difftags %} {% load djblets_deco %} {% load djblets_utils %} {% if standalone and error %} {{error}} {% endif %} {% if file.changed_chunks or file.binary %} {% if not standalone %}
{{ file.depot_filename }} | |||||||
---|---|---|---|---|---|---|---|
{{file.revision}} | {{file.dest_revision}} | ||||||
{% trans "This is a binary file. The content cannot be displayed." %} | |||||||
{% ifnotequal chunk.change 'equal' %}{% endifnotequal %}{{line.1}} | {% else %}{{line.1}} | {% endif %} {% ifequal chunk.change "replace" %}{{ line.2|highlightregion:line.3|showextrawhitespace }} |
{{line.4}} | {{ line.5|highlightregion:line.6|showextrawhitespace }} |
{% else %}
{{ line.2|showextrawhitespace }} |
{{line.4}} | {{ line.5|showextrawhitespace }} |
{% endifequal %}
... | {{ chunk.numlines }} line{{chunk.numlines|pluralize}} hidden [{% trans "Expand" %}] |