{% 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 versions_list.paginator %} {% include 'pagination.html' with list=versions_list %} {% endif %} {% load logs_extra %} {% load acl %} {% load i18n %} {% trans "Date" as tr_date %} {% 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=tr_date %} {% trans "Editing" %}
{{ v.datetime|date:"j/m/y H:i:s" }} {% blocktrans with username=v.username %}{{ username }} has banned{% endblocktrans %} {{ v.version.object.user.get_username }} ( {% if v.version.object.raison == '' %} {% trans "No reason" %} {% else %} {{ v.version.object.raison }} {% endif %} ) {% trans "Cancel" %}
{{ v.datetime|date:"j/m/y H:i:s" }} {% blocktrans with username=v.username %}{{ username }} has graciously authorised{% endblocktrans %} {{ v.version.object.user.get_username }} ( {% if v.version.object.raison == '' %} {% trans "No reason" %} {% else %} {{ v.version.object.raison }} {% endif %} ) {% trans "Cancel" %}
{{ v.datetime|date:"j/m/y H:i:s" }} {% blocktrans with username=v.username %}{{ username }} has updated{% endblocktrans %} {{ v.version.object.get_username }} {% if v.comment != '' %} ({{ v.comment }}) {% endif %} {% trans "Cancel" %}
{{ v.datetime|date:"j/m/y H:i:s" }} {% blocktrans with username=v.username number=v.version.object.number name=v.version.object.name %}{{ username }} has sold {{ number }}x {{ name }}{% endblocktrans %} {% with invoice=v.version.object.facture %} {% if invoice|is_facture %} {% trans "to" %} {{ v.version.object.facture.facture.user.get_username }} {% if v.version.object.iscotisation %} ({% blocktrans with duration=v.version.object.duration %}+{{ duration }} months{% endblocktrans %}) {% endif %} {% endif %} {% endwith %} {% trans "Cancel" %}
{{ v.datetime|date:"j/m/y H:i:s" }} {% blocktrans with username=v.username %}{{ username }} has edited an interface of{% endblocktrans %} {{ v.version.object.machine.user.get_username }} {% if v.comment != '' %} ({{ v.comment }}) {% endif %} {% trans "Cancel" %}
{% if versions_list.paginator %} {% include 'pagination.html' with list=versions_list %} {% endif %}