{% extends 'wagtailadmin/reports/base_report.html' %} {% load i18n wagtailadmin_tags %} {% block titletag %}{% blocktrans with title=subtitle %}Page history for {{ subtitle }}{% endblocktrans %}{% endblock %} {% block actions %} {% trans "Edit this page" %} {% endblock %} {% block results %} {% if object_list %}

{% trans 'Action' %} | {% trans 'User' %} | {% trans 'Date / Time' %}
--- | --- | ---
{% page_permissions page as page_perms %} {% for entry in object_list %}
{% if entry.revision %}{% endif %} {{ entry|format_action_log_message }} {% if entry.revision %}{% endif %} {% if entry.comment %} {% trans "Comment" %}: "{{ entry.comment }}" {% endif %} {% if entry.revision %} {% if entry.action == 'wagtail.publish' %} {% if entry.revision == page.live_revision %}{% trans 'Live version' %}{% endif %} {% elif entry.content_changed %} {% if entry.revision == page.get_latest_revision %}{% trans 'Current draft' %}{% endif %} {% include "wagtailadmin/pages/revisions/_actions.html" with revision=entry.revision %} {% endif %} {% endif %} | {% include "wagtailadmin/shared/user_avatar.html" with user=entry.user username=entry.user_display_name %} | {% blocktrans with time_period=entry.timestamp|timesince %}{{ time_period }} ago{% endblocktrans %}
{% endfor %}

{% else %}

{% trans "No log entries found." %}

{% endif %} {% endblock %} {% block no_results %}

{% trans "No log entries found." %}

{% endblock %}