{% comment %} Re2o est un logiciel d'administration développé initiallement au rezometz. Il se veut agnostique au réseau considéré, de manière à être installable en quelques clics. Copyright © 2017 Gabriel Détraz Copyright © 2017 Goulven 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 versions_list.paginator %} {% include "pagination.html" with list=versions_list %} {% endif %} {% load logs_extra %} {% load acl %} {% for v in versions_list %} {% if v.version.content_type.model == 'ban' %} {% can_edit_history %} {% acl_end %} {% elif v.version.content_type.model == 'whitelist' %} {% can_edit_history%} {% acl_end %} {% elif v.version.content_type.model == 'user' %} {% can_edit_history %} {% acl_end %} {% elif v.version.content_type.model == 'vente' %} {% can_edit_history %} {% acl_end %} {% elif v.version.content_type.model == 'interface' %} {% can_edit_history %} {% acl_end %} {% endif %} {% endfor %}
{% include "buttons/sort.html" with prefix='sum' col='date' text='Date' %} Modification
{{ v.datetime }} {{ v.username }} a banni {{ v.version.object.user.get_username }} ( {% if v.version.object.raison == '' %} Aucune raison {% else %} {{ v.version.object.raison }} {% endif %} ) Annuler
{{ v.datetime }} {{ v.username }} a autorisé gracieusement {{ v.version.object.user.get_username }} ( {% if v.version.object.raison == '' %} Aucune raison {% else %} {{ v.version.object.raison }} {% endif %} ) Annuler
{{ v.datetime }} {{ v.username }} a mis à jour {{ v.version.object.get_username }} {% if v.comment != '' %} ({{ v.comment }}) {% endif %} Annuler
{{ v.datetime }} {{ v.username }} a vendu {{ v.version.object.number }}x {{ v.version.object.name }} à {{ v.version.object.facture.user.get_username }} {% if v.version.object.iscotisation %} (+{{ v.version.object.duration }} mois) {% endif %} Annuler
{{ v.datetime }} {{ v.username }} a modifié une interface de {{ v.version.object.machine.user.get_username }} {% if v.comment != '' %} ({{ v.comment }}) {% endif %} Annuler
{% if versions_list.paginator %} {% include "pagination.html" with list=versions_list %} {% endif %}