{% extends "two_column_body.html" %} {% import "macros.html" as macros %} {% block title %}{% spaceless %}{% trans %}Revision history{% endtrans %}{% endspaceless %}{% endblock %} {% block content %}

{% trans %}Revision history{% endtrans %} [{% trans %}back{% endtrans %}]

{% for revision in revisions %}
{% trans %}click to hide/show revision{% endtrans %} {{ revision.revision }} {% if revision.summary %}
{{ revision.summary|escape }}
{% endif %} {% if request.user|can_edit_post(post) %} {% if post.post_type == 'answer' %} {% trans %}edit{% endtrans %} {% endif %} {% if post.post_type == 'question' %} {% trans %}edit{% endtrans %} {% endif %} {% endif %}
{% if revision.revision == 1 %} {% set contributor_type = "original_author" %} {% else %} {% set contributor_type = "last_updater" %} {% endif %} {{ macros.post_contributor_info( revision, contributor_type, False, 0 ) }}
{{ revision.diff }}
{% endfor %}
{% endblock %} {% block endjs %} {% endblock %}