{% extends "wagtailadmin/base.html" %} {% load i18n wagtailadmin_tags %} {% block titletag %}{% blocktrans trimmed with title=page_subtitle %}Comparing {{ title }}{% endblocktrans %}{% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title=_("Comparing") subtitle=page_subtitle icon=header_icon %}
{{ history_label|capfirst }} {{ edit_label|capfirst }}
{% trans "Fields" %} | {% trans "Changes" %} |
---|---|
{{ comp.field_label }}:
|
{% if comp.is_field %}
{{ comp.htmldiff }}
{% elif comp.is_child_relation %}
{% for child_comp in comp.get_child_comparisons %}
{% with child_comp.get_position_change as move %}
{% if move %}
{% endfor %}
{% endif %}
{% icon name='help' %}
{% endif %}
{% endwith %}
{% if move > 0 %} {% blocktrans trimmed count counter=move %} Moved down 1 place. {% plural %} Moved down {{ counter }} places. {% endblocktrans %} {% elif move < 0 %} {% blocktrans trimmed count counter=move|abs %} Moved up 1 place. {% plural %} Moved up {{ counter }} places. {% endblocktrans %} {% endif %}
|