{% extends 'jinja_master/master.html' %} {% do g.register_forge_css('css/forge/hilite.css') %} {% block title %} {{c.project.name}} / {{c.app.config.options.mount_label}} / Diff of {{h.really_unicode(a.filename)}} {% endblock %} {% block header %}Diff of {{h.really_unicode(a.filename)}}{% endblock %} {% block content %} {{h.text.truncate(a._commit._id, 10)}}: {{a.path()}}
vs.
{{h.text.truncate(b._commit._id, 10)}}: {{b.path()}} {% if (not a.has_html_view and not a.has_image_view) or (not b.has_html_view and not b.has_image_view) %} {{a.name}} cannot be displayed in your browser. You may, however, download this file instead. {% endif %} {% if a.has_html_view and b.has_html_view %}

{{h.really_unicode(a.filename)}}

{{g.highlight(diff, lexer='diff')}}
{% endif %} {% if a.has_image_view and b.has_image_view %}
{{h.text.truncate(a._commit._id, 10)}} {{h.text.truncate(b._commit._id, 10)}}
{% endif %} {% endblock %}