{% extends "generic/object.html" %} {% load i18n %} {% comment %} One file of a revision, titled with its path and naming the revision it was read from. Context: - object: The revision - source_file: The file's manifest entry, with what the active tab shows of it - file_index: The file's position in the manifest - file_tab: The active tab, "file" or "source" {% endcomment %} {% block breadcrumbs %} {{ block.super }} {% endblock breadcrumbs %} {% block title %}{{ source_file.path|default:_("Source") }}{% endblock title %} {% block subtitle %}
{% blocktrans trimmed with revision=object.short_digest revision_id=object.pk project=object.project %} Revision {{ revision }} (ID {{ revision_id }}) of {{ project }} {% endblocktrans %}
{% endblock subtitle %} {% block tabs %} {# A file's page carries its own tabs, not the revision's. #} {% endblock tabs %}