{% extends "base.html" %} {% block title %}{{ i18n.text("web-history-of") }} {{ path }} {{ i18n.text("web-ai-memory") }}{% endblock %} {% block header_search %}{% include "_header_search_scoped.html" %}{% endblock %} {% block content %}

{{ i18n.text("web-history-of") }} {{ path }}

{{ total }} {{ i18n.count("web-count-version", total) }}{{ i18n.text("web-newest-first-superseded-versions-stay-in-the-record-nothing-here-can-change-them") }}

{% if from_short != "" %}{{ i18n.text("web-changes-from") }} {{ from_short }} {{ i18n.text("web-to-history") }} {{ to_short }}{% else %}{{ i18n.text("web-content-of") }} {{ to_short }} {{ i18n.text("web-no-earlier-version-at-this-path") }}{% endif %}

{% if from_short != "" %}{{ from_title }} → {% endif %}{{ to_title }}

{% if same %}

{{ i18n.text("web-the-two-versions-have-the-same-body") }}

{% else if too_large != "" %}

{{ i18n.text("web-no-diff-shown") }} {{ i18n.label(too_large) }}.

{% else if hunks.is_empty() %}

{{ i18n.text("web-the-bodies-differ-only-in-line-endings") }}

{% else %}
{% for hunk in hunks %}{{ hunk.header }}{% for line in hunk.lines %}{{ line.sign }}{{ line.text }}{% endfor %}{% endfor %}
{% if truncated %}

{{ i18n.text("web-diff-cut-short-at-the-line-limit") }}

{% endif %} {% endif %}

{{ i18n.three("web-history-versions-range", shown_start, shown_end, total) }}

{% for version in versions %} {% endfor %}
{{ i18n.text("web-from") }} {{ i18n.text("web-to") }} {{ i18n.text("web-version") }} {{ i18n.text("web-written") }} {{ i18n.text("web-author") }} {{ i18n.text("web-title") }} {{ i18n.text("web-size") }}
{{ version.short_id }} {% if version.is_latest %}{{ i18n.text("web-latest") }}{% endif %} {% if version.supersedes_short != "" %}{{ i18n.text("web-replaced") }} {{ version.supersedes_short }}{% endif %} {{ version.created_relative }} {% if version.author != "" %}{{ version.author }}{% else %}—{% endif %} {{ version.title }} {{ version.body_chars }} {{ i18n.text("web-chars") }} {% if version.compare_href != "" %}{{ i18n.text("web-vs-previous") }}{% endif %}
{% if newer_href != "" %}{{ i18n.text("web-newer-versions") }}{% endif %} {% if older_href != "" %}{{ i18n.text("web-older-versions") }}{% endif %}
{% endblock %}