Skip to content
Snippets Groups Projects
Commit 223a1296 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

run hooks

parent 7d76cfcd
Branches
No related tags found
2 merge requests!1211Release,!1210run hooks
Pipeline #20506 passed
......@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('district', '0305_alter_districtcustompage_options'),
("district", "0305_alter_districtcustompage_options"),
]
operations = [
migrations.RemoveField(
model_name='districthomepage',
name='menu_button_name',
model_name="districthomepage",
name="menu_button_name",
),
migrations.AlterField(
model_name='districthomepage',
name='menu_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Zvýrazněná tlačítka'),
model_name="districthomepage",
name="menu_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Zvýrazněná tlačítka",
),
),
]
......@@ -10,8 +10,9 @@ from wagtail.images.blocks import ImageChooserBlock
from shared.blocks import CandidateBlock as SharedCandidateBlockMixin
from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin
from shared.blocks import \
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin
from shared.blocks import (
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin,
)
from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin
......
......@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('elections', '0063_alter_electionssimplepage_options'),
("elections", "0063_alter_electionssimplepage_options"),
]
operations = [
migrations.RemoveField(
model_name='electionshomepage',
name='menu_button_name',
model_name="electionshomepage",
name="menu_button_name",
),
migrations.AlterField(
model_name='electionshomepage',
name='menu_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Zvýrazněná tlačítka'),
model_name="electionshomepage",
name="menu_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Zvýrazněná tlačítka",
),
),
]
......@@ -13,8 +13,9 @@ from wagtail.images.blocks import ImageChooserBlock
from shared.blocks import CandidateBlock as SharedCandidateBlockMixin
from shared.blocks import CandidateListBlock
from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin
from shared.blocks import \
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin
from shared.blocks import (
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin,
)
from shared.blocks import (
CardLinkBlockMixin,
CardLinkWithHeadlineBlockMixin,
......@@ -27,8 +28,9 @@ from shared.blocks import (
ProgramGroupBlockMixin,
)
from shared.blocks import ProgramGroupBlockPopout as SharedProgramGroupBlockPopout
from shared.blocks import \
ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin
from shared.blocks import (
ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin,
)
from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin
from shared.blocks import StreamBlock, TeamBlockMixin
......
......@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0140_maincareerpage_closing_date_and_more'),
("main", "0140_maincareerpage_closing_date_and_more"),
]
operations = [
migrations.RemoveField(
model_name='mainhomepage',
name='menu_button_name',
model_name="mainhomepage",
name="menu_button_name",
),
migrations.AlterField(
model_name='mainhomepage',
name='menu_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Zvýrazněná tlačítka'),
model_name="mainhomepage",
name="menu_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Zvýrazněná tlačítka",
),
),
]
......@@ -5,20 +5,37 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0141_remove_mainhomepage_menu_button_name_and_more'),
("main", "0141_remove_mainhomepage_menu_button_name_and_more"),
]
operations = [
migrations.AddField(
model_name='mainhomepage',
name='popout_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Zvýrazněná tlačítka'),
model_name="mainhomepage",
name="popout_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Zvýrazněná tlačítka",
),
),
migrations.AddField(
model_name='mainhomepage',
name='popout_button_name',
field=models.CharField(blank=True, max_length=16, null=True, verbose_name='Název vyskakovacího tlačítka'),
model_name="mainhomepage",
name="popout_button_name",
field=models.CharField(
blank=True,
max_length=16,
null=True,
verbose_name="Název vyskakovacího tlačítka",
),
),
]
......@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('main', '0142_mainhomepage_popout_button_content_and_more'),
("main", "0142_mainhomepage_popout_button_content_and_more"),
]
operations = [
migrations.AlterField(
model_name='mainhomepage',
name='popout_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Obsah vyskakovacího tlačítka'),
model_name="mainhomepage",
name="popout_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Obsah vyskakovacího tlačítka",
),
),
]
......@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('uniweb', '0114_auto_20241122_1238'),
("uniweb", "0114_auto_20241122_1238"),
]
operations = [
migrations.AlterField(
model_name='uniwebhomepage',
name='menu_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Zvýrazněná tlačítka'),
model_name="uniwebhomepage",
name="menu_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Zvýrazněná tlačítka",
),
),
]
......@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('uniweb', '0115_alter_uniwebhomepage_menu_button_content'),
("uniweb", "0115_alter_uniwebhomepage_menu_button_content"),
]
operations = [
migrations.AlterField(
model_name='uniwebhomepage',
name='menu_button_content',
field=wagtail.fields.StreamField([('navbar_menu_item', 2)], blank=True, block_lookup={0: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka'}), 1: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka'}), 2: ('wagtail.blocks.StructBlock', [[('button_link', 0), ('button_text', 1)]], {})}, verbose_name='Obsah tlačítka pro zapojení'),
model_name="uniwebhomepage",
name="menu_button_content",
field=wagtail.fields.StreamField(
[("navbar_menu_item", 2)],
blank=True,
block_lookup={
0: ("wagtail.blocks.URLBlock", (), {"label": "Odkaz tlačítka"}),
1: ("wagtail.blocks.CharBlock", (), {"label": "Text tlačítka"}),
2: (
"wagtail.blocks.StructBlock",
[[("button_link", 0), ("button_text", 1)]],
{},
),
},
verbose_name="Obsah tlačítka pro zapojení",
),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment