-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release'
- Loading branch information
Showing
71 changed files
with
21,914 additions
and
10 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
1,237 changes: 1,237 additions & 0 deletions
1,237
bc/blogs/migrations/0019_add_directory_search_block.py
Large diffs are not rendered by default.
Oops, something went wrong.
1,253 changes: 1,253 additions & 0 deletions
1,253
bc/blogs/migrations/0020_directory_search_block__add_bucks_online_directory_option.py
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
650 changes: 650 additions & 0 deletions
650
bc/cases/migrations/0027_directory_search_block__add_bucks_online_directory_option.py
Large diffs are not rendered by default.
Oops, something went wrong.
628 changes: 628 additions & 0 deletions
628
bc/events/migrations/0034_add_directory_search_block.py
Large diffs are not rendered by default.
Oops, something went wrong.
636 changes: 636 additions & 0 deletions
636
bc/events/migrations/0035_directory_search_block__add_bucks_online_directory_option.py
Large diffs are not rendered by default.
Oops, something went wrong.
214 changes: 214 additions & 0 deletions
214
bc/family_information/migrations/0015_add_directory_search_block.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,214 @@ | ||
# Generated by Django 4.2.11 on 2024-07-19 11:25 | ||
|
||
from django.db import migrations | ||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("family_information", "0014_merge_20240709_1347"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="categorypage", | ||
name="directory_search", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"directory_search", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"title", | ||
wagtail.blocks.CharBlock( | ||
help_text="Title of the widget", required=True | ||
), | ||
), | ||
( | ||
"search_placeholder", | ||
wagtail.blocks.CharBlock( | ||
help_text="Placeholder text for the search input", | ||
required=False, | ||
), | ||
), | ||
( | ||
"directory", | ||
wagtail.blocks.ChoiceBlock( | ||
choices=[ | ||
("send", "SEND"), | ||
( | ||
"familyinfo", | ||
"Family Information Service", | ||
), | ||
], | ||
help_text="Which directory to search", | ||
), | ||
), | ||
( | ||
"extra_query_params", | ||
wagtail.blocks.CharBlock( | ||
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism", | ||
required=False, | ||
), | ||
), | ||
], | ||
template="patterns/organisms/search-widget/search-widget.html", | ||
), | ||
) | ||
], | ||
blank=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="categorytypeonepage", | ||
name="directory_search", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"directory_search", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"title", | ||
wagtail.blocks.CharBlock( | ||
help_text="Title of the widget", required=True | ||
), | ||
), | ||
( | ||
"search_placeholder", | ||
wagtail.blocks.CharBlock( | ||
help_text="Placeholder text for the search input", | ||
required=False, | ||
), | ||
), | ||
( | ||
"directory", | ||
wagtail.blocks.ChoiceBlock( | ||
choices=[ | ||
("send", "SEND"), | ||
( | ||
"familyinfo", | ||
"Family Information Service", | ||
), | ||
], | ||
help_text="Which directory to search", | ||
), | ||
), | ||
( | ||
"extra_query_params", | ||
wagtail.blocks.CharBlock( | ||
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism", | ||
required=False, | ||
), | ||
), | ||
], | ||
template="patterns/organisms/search-widget/search-widget.html", | ||
), | ||
) | ||
], | ||
blank=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="categorytypetwopage", | ||
name="directory_search", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"directory_search", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"title", | ||
wagtail.blocks.CharBlock( | ||
help_text="Title of the widget", required=True | ||
), | ||
), | ||
( | ||
"search_placeholder", | ||
wagtail.blocks.CharBlock( | ||
help_text="Placeholder text for the search input", | ||
required=False, | ||
), | ||
), | ||
( | ||
"directory", | ||
wagtail.blocks.ChoiceBlock( | ||
choices=[ | ||
("send", "SEND"), | ||
( | ||
"familyinfo", | ||
"Family Information Service", | ||
), | ||
], | ||
help_text="Which directory to search", | ||
), | ||
), | ||
( | ||
"extra_query_params", | ||
wagtail.blocks.CharBlock( | ||
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism", | ||
required=False, | ||
), | ||
), | ||
], | ||
template="patterns/organisms/search-widget/search-widget.html", | ||
), | ||
) | ||
], | ||
blank=True, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="subsitehomepage", | ||
name="directory_search", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"directory_search", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"title", | ||
wagtail.blocks.CharBlock( | ||
help_text="Title of the widget", required=True | ||
), | ||
), | ||
( | ||
"search_placeholder", | ||
wagtail.blocks.CharBlock( | ||
help_text="Placeholder text for the search input", | ||
required=False, | ||
), | ||
), | ||
( | ||
"directory", | ||
wagtail.blocks.ChoiceBlock( | ||
choices=[ | ||
("send", "SEND"), | ||
( | ||
"familyinfo", | ||
"Family Information Service", | ||
), | ||
], | ||
help_text="Which directory to search", | ||
), | ||
), | ||
( | ||
"extra_query_params", | ||
wagtail.blocks.CharBlock( | ||
help_text="Extra query parameters to add to the search, e.g. ?collection=things-to-do&needs=autism", | ||
required=False, | ||
), | ||
), | ||
] | ||
), | ||
) | ||
], | ||
blank=True, | ||
), | ||
), | ||
] |
Oops, something went wrong.