diff --git a/logs/templates/logs/aff_summary.html b/logs/templates/logs/aff_summary.html index 35504144..57cf56e5 100644 --- a/logs/templates/logs/aff_summary.html +++ b/logs/templates/logs/aff_summary.html @@ -31,31 +31,39 @@ with this program; if not, write to the Free Software Foundation, Inc., - - - - - - + + + {% for revision in revisions_list %} {% for reversion in revision.version_set.all %} - - - - + {% if reversion.content_type.name in 'ban,whitelist,user,vente,interface'|slice:',' %} + - - {% if is_bureau %} + {% if reversion.content_type.name == 'ban' %} + + {% elif reversion.content_type.name == 'whitelist' %} + + {% elif reversion.content_type.name == 'user' %} + + {% elif reversion.content_type.name == 'vente' %} + + {% elif reversion.content_type.name == 'interface' %} + + {% endif %} + {% if is_bureau %} - {% endif %} + {% endif %} + {% endif %} {% endfor %} {% endfor %}
Objet modifiéType de l'objetModification parDate de modificationCommentaireDateModification
{{ reversion.object|truncatechars:20 }}{{ reversion.object|classname }}{{ revision.user }}
{{ revision.date_created }}{{ revision.comment }}{{ revision.user.get_username }} a banni {{ reversion.object.user.get_username }} ({{ reversion.object.raison }}){{ revision.user.get_username }} a autorisé gracieusement {{ reversion.object.user.get_username }} ({{ reversion.object.raison }}){{ revision.user.get_username }} a ajouté {{ reversion.object.get_username }}{{ reversion.object.facture.user.get_username }} a acheté {{ reversion.object.number }}x {{ reversion.object.name }}{% if reversion.object.iscotisation %} (+{{ reversion.object.duration }} mois){% endif %}{{ revision.user.get_username }} a ajouté une interface à {{ reversion.object.machine.user.get_username }} (MAC : {{ reversion.object.mac_bare }}) Annuler
+ +