feat: make people group labels editable

This commit is contained in:
mohamad
2026-10-29 04:11:36 +08:00
parent cb54e96db6
commit 9a8551ae23
8 changed files with 81 additions and 7 deletions
+12
View File
@@ -49,6 +49,18 @@ class SiteBranding(models.Model):
max_length=200, default="Organizers & collaborators",
help_text="Heading above the people cards on main projects and sub-projects.",
)
lead_group_label = models.CharField(
max_length=100, blank=True, default="Lead / Leader",
help_text="Heading for Lead and Leader people. Leave empty to hide the heading while keeping their cards.",
)
organizer_group_label = models.CharField(
max_length=100, blank=True, default="Organizers",
help_text="Heading for Organizers. Leave empty to hide the heading while keeping their cards.",
)
collaborator_group_label = models.CharField(
max_length=100, blank=True, default="Collaborators",
help_text="Heading for Collaborators. Leave empty to hide the heading while keeping their cards.",
)
icon = models.ImageField(
upload_to="branding/",