mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-30 04:13:01 +00:00
[WEI] Old members can create WEI registrations to renew their membership easily
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
6d5b69cd26
commit
8056dc096d
@ -1235,7 +1235,7 @@
|
|||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir le dernier WEI"
|
"description": "Voir le dernier WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1267,7 +1267,7 @@
|
|||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "M'inscrire au dernier WEI"
|
"description": "M'inscrire au dernier WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1331,7 +1331,7 @@
|
|||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir ma propre inscription WEI"
|
"description": "Voir ma propre inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1379,7 +1379,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "soge_credit",
|
"field": "soge_credit",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Indiquer si mon inscription WEI est payée par la Société générale tant qu'elle n'est pas validée"
|
"description": "Indiquer si mon inscription WEI est payée par la Société générale tant qu'elle n'est pas validée"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1427,7 +1427,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "birth_date",
|
"field": "birth_date",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier la date de naissance de ma propre inscription WEI"
|
"description": "Modifier la date de naissance de ma propre inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1459,7 +1459,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "gender",
|
"field": "gender",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier le genre de ma propre inscription WEI"
|
"description": "Modifier le genre de ma propre inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1491,7 +1491,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "health_issues",
|
"field": "health_issues",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier mes problèmes de santé de mon inscription WEI"
|
"description": "Modifier mes problèmes de santé de mon inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1523,7 +1523,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "emergency_contact_name",
|
"field": "emergency_contact_name",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier le nom du contact en cas d'urgence de mon inscription WEI"
|
"description": "Modifier le nom du contact en cas d'urgence de mon inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1555,7 +1555,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "emergency_contact_phone",
|
"field": "emergency_contact_phone",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier le téléphone du contact en cas d'urgence de mon inscription WEI"
|
"description": "Modifier le téléphone du contact en cas d'urgence de mon inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1699,7 +1699,7 @@
|
|||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 3,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Créer une adhésion WEI pour le dernier WEI"
|
"description": "Créer une adhésion WEI pour le dernier WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2003,7 +2003,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "clothing_cut",
|
"field": "clothing_cut",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier ma coupe de vêtements de mon inscription WEI"
|
"description": "Modifier ma coupe de vêtements de mon inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2035,7 +2035,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "clothing_size",
|
"field": "clothing_size",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier la taille de vêtements de mon inscription WEI"
|
"description": "Modifier la taille de vêtements de mon inscription WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2243,7 +2243,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "information_json",
|
"field": "information_json",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Modifier mes préférences en terme de bus et d'équipe si mon inscription n'est pas validée et que je suis en 2A+"
|
"description": "Modifier mes préférences en terme de bus et d'équipe si mon inscription n'est pas validée et que je suis en 2A+"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -222,7 +222,7 @@ class WEIMembershipsView(ProtectQuerysetMixin, LoginRequiredMixin, SingleTableVi
|
|||||||
| Q(team__name__iregex=pattern)
|
| Q(team__name__iregex=pattern)
|
||||||
)
|
)
|
||||||
|
|
||||||
return qs[:20]
|
return qs
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
@ -256,7 +256,7 @@ class WEIRegistrationsView(ProtectQuerysetMixin, LoginRequiredMixin, SingleTable
|
|||||||
| Q(user__note__alias__normalized_name__iregex="^" + Alias.normalize(pattern))
|
| Q(user__note__alias__normalized_name__iregex="^" + Alias.normalize(pattern))
|
||||||
)
|
)
|
||||||
|
|
||||||
return qs[:20]
|
return qs
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user