Can change invitation code
This commit is contained in:
@ -211,16 +211,19 @@ function FamilyCard(p: {
|
||||
return (
|
||||
<Card style={{ margin: "5px" }}>
|
||||
<CardActionArea>
|
||||
{" "}
|
||||
<RouterLink to={p.f.BaseURL}>
|
||||
<CardContent>
|
||||
<Typography gutterBottom variant="h5" component="div">
|
||||
{p.f.name}
|
||||
</Typography>
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
<span style={{ fontStyle: "italic" }}>
|
||||
{p.f.is_admin ? "Administrateur" : "Membre"}
|
||||
</span>
|
||||
<br />
|
||||
{p.f.count_members === 1
|
||||
? "1 membre"
|
||||
: p.f.count_members + " membres"}{" "}
|
||||
: p.f.count_members + " membres"}
|
||||
<br />
|
||||
{p.f.count_admins === 1
|
||||
? "1 administrateur"
|
||||
|
Reference in New Issue
Block a user