diff --git a/re2o/utils.py b/re2o/utils.py index 369bc058..adf51ff0 100644 --- a/re2o/utils.py +++ b/re2o/utils.py @@ -159,14 +159,12 @@ class SortTable: } USERS_INDEX_BAN = { 'user': 'user__pseudo', - 'reason': 'raison', 'start': 'date_start', 'end': 'date_end', 'default': 'date_end' } USERS_INDEX_WHITE = { 'user': 'user__pseudo', - 'reason': 'raison', 'start': 'date_start', 'end': 'date_end', 'default': 'date_end' diff --git a/users/templates/users/aff_bans.html b/users/templates/users/aff_bans.html index bb9c3485..3b4b66c1 100644 --- a/users/templates/users/aff_bans.html +++ b/users/templates/users/aff_bans.html @@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include "buttons/sort.html" with col="user" text="Utilisateur" %} - {% include "buttons/sort.html" with col="reason" text="Raison" %} + Raison {% include "buttons/sort.html" with col="start" text="Date de début" %} {% include "buttons/sort.html" with col="end" text="Date de fin" %} diff --git a/users/templates/users/aff_whitelists.html b/users/templates/users/aff_whitelists.html index d8c857a1..28b8537f 100644 --- a/users/templates/users/aff_whitelists.html +++ b/users/templates/users/aff_whitelists.html @@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include "buttons/sort.html" with col="user" text="Utilisateur" %} - {% include "buttons/sort.html" with col="reason" text="Raison" %} + Raison {% include "buttons/sort.html" with col="start" text="Date de début" %} {% include "buttons/sort.html" with col="end" text="Date de fin" %}