Browse Source

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

refactor_history
Maël Kervella 8 years ago
parent
commit
7067861cdb
  1. 2
      re2o/utils.py
  2. 2
      users/templates/users/aff_bans.html
  3. 2
      users/templates/users/aff_whitelists.html

2
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'

2
users/templates/users/aff_bans.html

@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<thead>
<tr>
<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="end" text="Date de fin" %}</th>
<th></th>

2
users/templates/users/aff_whitelists.html

@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<thead>
<tr>
<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="end" text="Date de fin" %}</th>
<th></th>

Loading…
Cancel
Save