{% 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}} / {{blob.commit.shorthand_id()}} {{h.really_unicode(blob.path())}} {% endblock %} {% block header %} {{blob.commit.shorthand_id()}}: {{lib.path_links(blob.path().split('/')[1:-1])}} {{h.really_unicode(blob.name)}} {% endblock %} {% block actions %} History {% endblock %} {% block extra_js %} {{ super() }} {% endblock %} {% block content %} {{ clone_info(c.app.repo) }} {% if prev %}

Parent: {{prev.commit.shorthand_id()}} (diff)

{% endif %} {% if next %}

Child: {{next.commit.shorthand_id()}} (diff)

{% endif %} {% if blob.has_image_view %} {% elif blob.has_html_view or blob.has_pypeline_view or force_display %}

Download this file

{{h.really_unicode(blob.name)}}    {{ stats.line_count }} lines ({{ stats.data_line_count }} with data), {{ stats.code_size|filesizeformat }}

{% if blob.has_pypeline_view %} {{h.render_any_markup(blob.name, blob.text, code_mode=True)}} {% else %} {{g.highlight(blob.text, filename=blob.name)}} {% endif %}
{% else %}

{{h.really_unicode(blob.name)}} is not known to be viewable in your browser. Try to display it anyway or download it instead.

{% endif %} {% endblock %}