8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 06:32:26 +00:00

Supprime le sort sur la colone raison des ban et whitelist (aucun sens)

This commit is contained in:
Maël Kervella 2017-10-22 00:39:25 +00:00
parent 3cc2c59335
commit 7067861cdb
3 changed files with 2 additions and 4 deletions

View file

@ -159,14 +159,12 @@ class SortTable:
} }
USERS_INDEX_BAN = { USERS_INDEX_BAN = {
'user': 'user__pseudo', 'user': 'user__pseudo',
'reason': 'raison',
'start': 'date_start', 'start': 'date_start',
'end': 'date_end', 'end': 'date_end',
'default': 'date_end' 'default': 'date_end'
} }
USERS_INDEX_WHITE = { USERS_INDEX_WHITE = {
'user': 'user__pseudo', 'user': 'user__pseudo',
'reason': 'raison',
'start': 'date_start', 'start': 'date_start',
'end': 'date_end', 'end': 'date_end',
'default': 'date_end' 'default': 'date_end'

View file

@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<thead> <thead>
<tr> <tr>
<th>{% include "buttons/sort.html" with col="user" text="Utilisateur" %}</th> <th>{% include "buttons/sort.html" with col="user" text="Utilisateur" %}</th>
<th>{% include "buttons/sort.html" with col="reason" text="Raison" %}</th> <th>Raison</th>
<th>{% include "buttons/sort.html" with col="start" text="Date de début" %}</th> <th>{% include "buttons/sort.html" with col="start" text="Date de début" %}</th>
<th>{% include "buttons/sort.html" with col="end" text="Date de fin" %}</th> <th>{% include "buttons/sort.html" with col="end" text="Date de fin" %}</th>
<th></th> <th></th>

View file

@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<thead> <thead>
<tr> <tr>
<th>{% include "buttons/sort.html" with col="user" text="Utilisateur" %}</th> <th>{% include "buttons/sort.html" with col="user" text="Utilisateur" %}</th>
<th>{% include "buttons/sort.html" with col="reason" text="Raison" %}</th> <th>Raison</th>
<th>{% include "buttons/sort.html" with col="start" text="Date de début" %}</th> <th>{% include "buttons/sort.html" with col="start" text="Date de début" %}</th>
<th>{% include "buttons/sort.html" with col="end" text="Date de fin" %}</th> <th>{% include "buttons/sort.html" with col="end" text="Date de fin" %}</th>
<th></th> <th></th>