{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends base_template %} {%- block actions -%} {% include 'SonataAdminBundle:CRUD:action_buttons.html.twig' %} {%- endblock -%} {% block content %}
{% for revision in revisions %} {% endfor %}
{{ 'td_revision'|trans({}, 'SonataAdminBundle') }} {{ 'td_timestamp'|trans({}, 'SonataAdminBundle') }} {{ 'td_username'|trans({}, 'SonataAdminBundle') }} {{ 'td_action'|trans({}, 'SonataAdminBundle') }} {{ 'td_compare'|trans({}, 'SonataAdminBundle') }}
{{ revision.rev }} {% include admin.getTemplate('history_revision_timestamp') %} {{ revision.username|default('label_unknown_user'|trans({}, 'SonataAdminBundle')) }} {{ "label_view_revision"|trans({}, 'SonataAdminBundle') }} {% if (currentRevision == false or revision.rev == currentRevision.rev) %} / {% else %} {{ 'label_compare_revision'|trans({}, 'SonataAdminBundle') }} {% endif %}
{% endblock %}