{% comment %} Re2o est un logiciel d'administration développé initiallement au Rézo Metz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2017 Gabriel Détraz Copyright © 2017 Lara Kermarec Copyright © 2017 Augustin Lemesle This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% if revisions_list.paginator %} {% include 'pagination.html' with list=revisions_list %} {% endif %} {% load logs_extra %} {% load acl %} {% load i18n %}
{% trans "Edited object" %} | {% trans "Edited by" as tr_edited_by %}{% include 'buttons/sort.html' with prefix='logs' col='author' text=tr_edited_by %} | {% trans "Date of editing" as tr_date_of_editing %}{% include 'buttons/sort.html' with prefix='logs' col='date' text=tr_date_of_editing %} | {% trans "Edited" %} | {% trans "Comment" %} | |
---|---|---|---|---|---|
{% if version.object_id %} {{ version.name }} {% else %} {{ version.name }} {% endif %} | {% if revision.performed_by %} {{ revision.performed_by }} {% else %} {{ revision.performed_by }} {% endif %} | {{ revision.date_created }} |
{% for edit in version.edits %}
{% if edit.1 is None and edit.2 is None %}
{{ edit.0 }} {% elif edit.1 is None %} {{ edit.0 }}: {{ edit.2|truncatechars:50 }} {% else %} {{ edit.0 }}: {{ edit.1|truncatechars:50 }} ➔ {{ edit.2|truncatechars:50 }} {% endif %} {% endfor %} |
{{ revision.comment }} | {% can_edit_history %}{% trans "Cancel" %} | {% acl_end %}