{#- What changed between two revisions of a page, line by line: the lines gone and the lines new marked, the rest kept for context. Drawn in `mockups/templates/wiki-compare.html`. -#} {% extends "wiki/_base.html" %} {% import "wiki/macros.html" as w with context %} {% set view = _("From revision %(old)d to revision %(new)d", old=rev1.number, new=rev2.number) %} {% block wiki_title %}{{ view }} · {{ page.title }}{% endblock %} {% block wiki_content %}
{{ w.page_head(page, view) }} {% if rev2.author %}{{ m.avatar(rev2.author, "ads-avatar--xs") }}{{ rev2.author.name }}, {{ m.time(rev2.created_at) }}{% if rev2.message %} : « {{ rev2.message }} »{% endif %}{% endif %}
{{ icon("history") }}{{ _("History") }}
{{ w.diff_lines(diff, _("The text, line by line")) }}
{% endblock %}