{% extends "base.html" %} {% from "icons.html" import icon, sep %} {% from "ui.html" import csrf_field, when with context %} {% set tab = 'tidy' %} {% block title %}{{ _("Pages of a tidy-up run") }} · {{ space.name }} · Synaptane{% endblock %} {% block crumbs %}{{ sep() }}{{ org.name }}{{ sep() }}{{ space.name }}{{ sep() }}{{ _("Tidy-up") }}{{ sep() }}{{ _("Pages of a run") }}{% endblock %} {% block content %} {% set space_tab = "tidy" %}{% include "space-tabs.html" %} {% set base = "/o/" ~ org.slug ~ "/" ~ space.slug %} {% set labels = {"created": _("created"), "edited": _("edited"), "deleted": _("deleted"), "moved": _("moved")} %}

{{ _("Pages changed by a tidy-up run") }}

{{ when(run.started_at) }}{% if run.summary %} · {{ run.summary }}{% endif %}

{{ _("Each page leads to what the run changed in it. Undoing a page puts it back as it was before the run, in a commit under your name; a note the run filed returns to the inbox once all the pages it went into are undone.") }}

{% if run.reverted_at %}
{{ _("This whole run was undone.") }}
{% endif %} {% if pages %}
{{ csrf_field() }} {% if contribute and not run.reverted_at and pages|selectattr('state', 'equalto', 'undoable')|list %}
{% endif %}
{% else %}

{{ _("This run changed no page.") }}

{% endif %}

{{ _("Back to the tidy-up log") }}

{% endblock %}