{% extends 'allura:templates/repo/repo_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(b.path())}} {% endblock %} {% block header %}Diff of {{b.path()}} {% if a %} {{a.commit.shorthand_id()}} {% else %} [000000] {% endif %} .. {{b.commit.shorthand_id()}} {% endblock %} {% block content %} {{ clone_info(c.app.repo) }} {% if a.has_image_view and b.has_image_view %}
{{h.text.truncate(a._commit._id, 10)}} {{h.text.truncate(b._commit._id, 10)}}
{% else %}

{{h.really_unicode(a.filename) or h.html.literal(' ')}}

{{g.highlight(diff, lexer='diff')}}
{% endif %} {% endblock %} {% block extra_css %} {% endblock %}