mirror of
https://github.com/ae-utbm/sith.git
synced 2026-03-22 03:25:05 +00:00
adapt club members pages to new club roles framework
This commit is contained in:
@@ -574,30 +574,6 @@ SITH_SUBSCRIPTIONS = {
|
||||
# To be completed....
|
||||
}
|
||||
|
||||
SITH_CLUB_ROLES_ID = {
|
||||
"President": 10,
|
||||
"Vice-President": 9,
|
||||
"Treasurer": 7,
|
||||
"Communication supervisor": 5,
|
||||
"Secretary": 4,
|
||||
"IT supervisor": 3,
|
||||
"Board member": 2,
|
||||
"Active member": 1,
|
||||
"Curious": 0,
|
||||
}
|
||||
|
||||
SITH_CLUB_ROLES = {
|
||||
10: _("President"),
|
||||
9: _("Vice-President"),
|
||||
7: _("Treasurer"),
|
||||
5: _("Communication supervisor"),
|
||||
4: _("Secretary"),
|
||||
3: _("IT supervisor"),
|
||||
2: _("Board member"),
|
||||
1: _("Active member"),
|
||||
0: _("Curious"),
|
||||
}
|
||||
|
||||
# This corresponds to the maximum role a user can freely subscribe to
|
||||
# In this case, SITH_MAXIMUM_FREE_ROLE=1 means that a user can
|
||||
# set himself as "Membre actif" or "Curieux", but not higher
|
||||
|
||||
Reference in New Issue
Block a user