{% extends 'editor/editor.html' %}

{% block main %}
    
    <div class="revisions">
        {% for revision in revisions %}
            <div class="revision">
                <div>
                    <strong><em>#{{ revision['revision_number']['value'] }}</em></strong>
                    <a href="{{ url('revision', number=revision['revision_number']['value'], type=type, id=node_id) }}">
                        {{ revision['datetime']['value']|simple_date }}
                    </a>
                </div>
                <div>
                    {{ revision['author']['value'] }}:
                    <em>{{ revision['edit_summary']['value'] }}</em>
                </div>
            </div>
        {% endfor %}
    </div>
    
{% endblock %}
