From 7067861cdb5c93c1dc6928c6873c5f41f1b6a765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Sun, 22 Oct 2017 00:39:25 +0000 Subject: [PATCH] Supprime le sort sur la colone raison des ban et whitelist (aucun sens) --- re2o/utils.py | 2 -- users/templates/users/aff_bans.html | 2 +- users/templates/users/aff_whitelists.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) 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" %}