-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature Request: Update Community Response Form (#291)
- Loading branch information
1 parent
e72f915
commit ff01efb
Showing
9 changed files
with
215 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
apps/notifications/migrations/0009_alter_communityresponsesubscriber_fields.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Generated by Django 4.2.14 on 2025-01-02 19:57 | ||
|
||
from django.db import migrations, models | ||
|
||
import phonenumber_field.modelfields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("notifications", "0008_coderedcodebluesubscriber_fields_are_optional"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="communityresponsesubscriber", | ||
name="organization_po_box", | ||
), | ||
migrations.RemoveField( | ||
model_name="communityresponsesubscriber", | ||
name="organization_street_address", | ||
), | ||
migrations.RemoveField( | ||
model_name="communityresponsesubscriber", | ||
name="organization_zip_codes_served", | ||
), | ||
migrations.RemoveField( | ||
model_name="communityresponsesubscriber", | ||
name="title", | ||
), | ||
migrations.AddField( | ||
model_name="communityresponsesubscriber", | ||
name="organization_mission_statement", | ||
field=models.CharField( | ||
blank=True, max_length=255, verbose_name="Mission Statement" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="communityresponsesubscriber", | ||
name="organization_type", | ||
field=models.CharField( | ||
choices=[ | ||
("Arts and Culture", "Arts and Culture"), | ||
("Block Captain", "Block Captain"), | ||
( | ||
"Civic Engagement/Elected Official", | ||
"Civic Engagement/Elected Official", | ||
), | ||
( | ||
"Disabilities and Access and Functional Needs", | ||
"Disabilities and Access and Functional Needs", | ||
), | ||
( | ||
"Education (Schools/Colleges/Universities)", | ||
"Education (Schools/Colleges/Universities)", | ||
), | ||
("Free Library of Philadelphia", "Free Library of Philadelphia"), | ||
("General Community Services", "General Community Services"), | ||
("Healthcare", "Healthcare"), | ||
( | ||
"Immigrant/Refugee/Communities that speak languages other than English", | ||
"Immigrant/Refugee/Communities that speak languages other than English", | ||
), | ||
("Live Bird Market", "Live Bird Market"), | ||
("Mental/Behavioral Health", "Mental/Behavioral Health"), | ||
("Older Adults", "Older Adults"), | ||
("Housing/Homeless Services", "Housing/Homeless Services"), | ||
("RCO/CDC/NAC", "RCO/CDC/NAC"), | ||
("Recreational", "Recreational"), | ||
("Religious/Faith-based", "Religious/Faith-based"), | ||
("Workers", "Workers"), | ||
("Youth", "Youth"), | ||
("Unaffiliated Community Leader", "Unaffiliated Community Leader"), | ||
], | ||
default="", | ||
max_length=255, | ||
verbose_name="Organization Type*", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="communityresponsesubscriber", | ||
name="cell_phone", | ||
field=phonenumber_field.modelfields.PhoneNumberField( | ||
blank=True, max_length=128, region=None, verbose_name="Cell Phone" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="communityresponsesubscriber", | ||
name="first_name", | ||
field=models.CharField( | ||
blank=True, max_length=255, verbose_name="First Name" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="communityresponsesubscriber", | ||
name="last_name", | ||
field=models.CharField( | ||
blank=True, max_length=255, verbose_name="Last Name" | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,7 @@ | |
@include headers; | ||
@include paragraphs; | ||
} | ||
|
||
.required { | ||
color: red; | ||
} |