diff --git a/app/home/templates/home/sections/sponsor-section.html b/app/home/templates/home/sections/sponsor-section.html index f597910..9829050 100644 --- a/app/home/templates/home/sections/sponsor-section.html +++ b/app/home/templates/home/sections/sponsor-section.html @@ -396,6 +396,45 @@ {% endfor %} + {% elif sponsor_type_key == "COFFEE" %} +
+

Coffee Sponsor

+
+ {% for sponsor in sponsors %} +
+ {% if sponsor.is_pao_connected %} + + {% endif %} + {% if sponsor.website_url %} + + + + {% else %} + + {% endif %} + {% if sponsor.info %} + + {% endif %} +
+ {% endfor %} +
+
{% endif %} {% endfor %} diff --git a/app/sponsors/migrations/0006_alter_sponsor_sponsor_type.py b/app/sponsors/migrations/0006_alter_sponsor_sponsor_type.py new file mode 100644 index 0000000..134ac4a --- /dev/null +++ b/app/sponsors/migrations/0006_alter_sponsor_sponsor_type.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2.7 on 2026-01-27 09:00 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sponsors', '0005_remove_sponsor_ribbon_visible_and_more'), + ] + + operations = [ + migrations.AlterField( + model_name='sponsor', + name='sponsor_type', + field=models.CharField(choices=[('ORGANIZER', 'Organizer'), ('INSTITUTIONAL', 'Institutional'), ('COMMUNITY_PARTNER', 'Community Partner'), ('WELLNESS_PARTNER', 'Wellness Partner'), ('KEYSTONE', 'Keystone'), ('PLATINUM', 'Platinum'), ('TITANIUM', 'Titanium'), ('GOLD', 'Gold'), ('SILVER', 'Silver'), ('COFFEE', 'Coffee')], max_length=255), + ), + ] diff --git a/app/sponsors/models.py b/app/sponsors/models.py index 381304b..82d8798 100644 --- a/app/sponsors/models.py +++ b/app/sponsors/models.py @@ -12,6 +12,7 @@ class SponsorType(models.TextChoices): TITANIUM = "TITANIUM" GOLD = "GOLD" SILVER = "SILVER" + COFFEE = "COFFEE" name = models.CharField(max_length=255) logo_url = models.URLField(max_length=255) diff --git a/config/constants.py b/config/constants.py index 6ef29f9..8725c46 100644 --- a/config/constants.py +++ b/config/constants.py @@ -8,4 +8,5 @@ "SILVER", "COMMUNITY_PARTNER", "WELLNESS_PARTNER", + "COFFEE", ]