-
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.
=> voting members, staff & implementing partners, board members
- Loading branch information
1 parent
2e39194
commit 4a98030
Showing
20 changed files
with
537 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 22:09 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0005_remove_hotsearchablepage_intro_delete_testpagepage'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='HOTSearchablePage', | ||
), | ||
] |
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 |
---|---|---|
|
@@ -29,7 +29,3 @@ def __str__(self): | |
|
||
class Meta: | ||
verbose_name_plural = "Partners" | ||
|
||
|
||
class HotSearchablePage(Page): | ||
pass |
52 changes: 52 additions & 0 deletions
52
app/members/migrations/0004_membergroupownerpage_membergrouppage.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,52 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 21:59 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('wagtailcore', '0089_log_entry_data_json_null_to_object'), | ||
('wagtailimages', '0025_alter_image_file_alter_rendition_file'), | ||
('members', '0003_rename_introduction_individualmemberpage_intro'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='MemberGroupOwnerPage', | ||
fields=[ | ||
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), | ||
('search_placeholder', models.CharField(default='Search by name')), | ||
('filter_by_country', models.CharField(default='Filter by Country')), | ||
('sort_by_titlea', models.CharField(default='Sort by Title Alphabetical')), | ||
('sort_by_titlez', models.CharField(default='Sort by Title Reverse Alphabetical')), | ||
('load_more_text', models.CharField(default='Load more', help_text="This will be a prefix to the title of the page; i.e., if the page title is 'Voting members', and this field is 'Load more', this will end up appearing as 'Load more Voting members'.")), | ||
('footer_box_title', models.CharField(default='Work for HOT')), | ||
('footer_box_description', wagtail.fields.RichTextField(blank=True)), | ||
('footer_box_button_text', models.CharField(default='Check our Job Opportunities')), | ||
('footer_box_button_link', models.URLField(blank=True)), | ||
], | ||
options={ | ||
'abstract': False, | ||
}, | ||
bases=('wagtailcore.page',), | ||
), | ||
migrations.CreateModel( | ||
name='MemberGroupPage', | ||
fields=[ | ||
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), | ||
('intro', wagtail.fields.RichTextField(blank=True, help_text='Appears in the header.')), | ||
('body_intro', wagtail.fields.RichTextField(blank=True)), | ||
('body_description', wagtail.fields.RichTextField(blank=True)), | ||
('desktop_size_items_per_row', models.SmallIntegerField(default=6, help_text='The number of members shown per row on desktop sizes.', validators=[django.core.validators.MinValueValidator(4), django.core.validators.MaxValueValidator(8)])), | ||
('header_image', models.ForeignKey(blank=True, help_text='Header image', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')), | ||
], | ||
options={ | ||
'abstract': False, | ||
}, | ||
bases=('wagtailcore.page',), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
app/members/migrations/0005_individualmemberpage_member_groups.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,20 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 22:14 | ||
|
||
from django.db import migrations | ||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0004_membergroupownerpage_membergrouppage'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='individualmemberpage', | ||
name='member_groups', | ||
field=wagtail.fields.StreamField([('member_group', wagtail.blocks.PageChooserBlock(page_type=['members.MemberGroupPage']))], blank=True, null=True, use_json_field=True), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
app/members/migrations/0006_alter_individualmemberpage_member_groups.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,20 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 22:45 | ||
|
||
from django.db import migrations | ||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0005_individualmemberpage_member_groups'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='individualmemberpage', | ||
name='member_groups', | ||
field=wagtail.fields.StreamField([('member_group', wagtail.blocks.StructBlock([('group', wagtail.blocks.PageChooserBlock(page_type=['members.MemberGroupPage'])), ('role', wagtail.blocks.CharBlock())]))], blank=True, null=True, use_json_field=True), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
app/members/migrations/0007_alter_individualmemberpage_member_groups.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,20 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 22:48 | ||
|
||
from django.db import migrations | ||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0006_alter_individualmemberpage_member_groups'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='individualmemberpage', | ||
name='member_groups', | ||
field=wagtail.fields.StreamField([('member_group', wagtail.blocks.StructBlock([('group', wagtail.blocks.PageChooserBlock(page_type=['members.MemberGroupPage'])), ('role', wagtail.blocks.CharBlock(required=False))]))], blank=True, null=True, use_json_field=True), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
app/members/migrations/0008_membergrouppage_hub_shown_and_more.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,23 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 23:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0007_alter_individualmemberpage_member_groups'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='membergrouppage', | ||
name='hub_shown', | ||
field=models.BooleanField(blank=True, default=False, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='membergrouppage', | ||
name='position_shown', | ||
field=models.BooleanField(blank=True, default=False, null=True), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
app/members/migrations/0009_alter_membergrouppage_hub_shown_and_more.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,23 @@ | ||
# Generated by Django 4.2.7 on 2024-07-09 23:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0008_membergrouppage_hub_shown_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='membergrouppage', | ||
name='hub_shown', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AlterField( | ||
model_name='membergrouppage', | ||
name='position_shown', | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
app/members/migrations/0010_membergrouppage_show_search_options.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,18 @@ | ||
# Generated by Django 4.2.7 on 2024-07-10 17:43 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0009_alter_membergrouppage_hub_shown_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='membergrouppage', | ||
name='show_search_options', | ||
field=models.BooleanField(default=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
app/members/migrations/0011_membergroupownerpage_search_button_text.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,18 @@ | ||
# Generated by Django 4.2.7 on 2024-07-10 17:53 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0010_membergrouppage_show_search_options'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='membergroupownerpage', | ||
name='search_button_text', | ||
field=models.CharField(default='Search'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
app/members/migrations/0012_membergroupownerpage_view_all_text.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,18 @@ | ||
# Generated by Django 4.2.7 on 2024-07-10 19:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('members', '0011_membergroupownerpage_search_button_text'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='membergroupownerpage', | ||
name='view_all_text', | ||
field=models.CharField(default='View all'), | ||
), | ||
] |
Oops, something went wrong.