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 ...@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('district', '0305_alter_districtcustompage_options'), ("district", "0305_alter_districtcustompage_options"),
] ]
operations = [ operations = [
migrations.RemoveField( migrations.RemoveField(
model_name='districthomepage', model_name="districthomepage",
name='menu_button_name', name="menu_button_name",
), ),
migrations.AlterField( migrations.AlterField(
model_name='districthomepage', model_name="districthomepage",
name='menu_button_content', 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'), 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 ...@@ -10,8 +10,9 @@ from wagtail.images.blocks import ImageChooserBlock
from shared.blocks import CandidateBlock as SharedCandidateBlockMixin from shared.blocks import CandidateBlock as SharedCandidateBlockMixin
from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin
from shared.blocks import \ from shared.blocks import (
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin,
)
from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin
......
...@@ -5,19 +5,31 @@ from django.db import migrations ...@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('elections', '0063_alter_electionssimplepage_options'), ("elections", "0063_alter_electionssimplepage_options"),
] ]
operations = [ operations = [
migrations.RemoveField( migrations.RemoveField(
model_name='electionshomepage', model_name="electionshomepage",
name='menu_button_name', name="menu_button_name",
), ),
migrations.AlterField( migrations.AlterField(
model_name='electionshomepage', model_name="electionshomepage",
name='menu_button_content', 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'), 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 ...@@ -13,8 +13,9 @@ from wagtail.images.blocks import ImageChooserBlock
from shared.blocks import CandidateBlock as SharedCandidateBlockMixin from shared.blocks import CandidateBlock as SharedCandidateBlockMixin
from shared.blocks import CandidateListBlock from shared.blocks import CandidateListBlock
from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin from shared.blocks import CandidateListBlock as SharedCandidateListBlockMixin
from shared.blocks import \ from shared.blocks import (
CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin CandidateSecondaryListBlock as SharedCandidateSecondaryListBlockMixin,
)
from shared.blocks import ( from shared.blocks import (
CardLinkBlockMixin, CardLinkBlockMixin,
CardLinkWithHeadlineBlockMixin, CardLinkWithHeadlineBlockMixin,
...@@ -27,8 +28,9 @@ from shared.blocks import ( ...@@ -27,8 +28,9 @@ from shared.blocks import (
ProgramGroupBlockMixin, ProgramGroupBlockMixin,
) )
from shared.blocks import ProgramGroupBlockPopout as SharedProgramGroupBlockPopout from shared.blocks import ProgramGroupBlockPopout as SharedProgramGroupBlockPopout
from shared.blocks import \ from shared.blocks import (
ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin ProgramGroupWithCandidatesBlock as SharedProgramGroupWithCandidatesBlockMixin,
)
from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin from shared.blocks import SecondaryCandidateBlock as SharedSecondaryCandidateBlockMixin
from shared.blocks import StreamBlock, TeamBlockMixin from shared.blocks import StreamBlock, TeamBlockMixin
......
...@@ -5,19 +5,31 @@ from django.db import migrations ...@@ -5,19 +5,31 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('main', '0140_maincareerpage_closing_date_and_more'), ("main", "0140_maincareerpage_closing_date_and_more"),
] ]
operations = [ operations = [
migrations.RemoveField( migrations.RemoveField(
model_name='mainhomepage', model_name="mainhomepage",
name='menu_button_name', name="menu_button_name",
), ),
migrations.AlterField( migrations.AlterField(
model_name='mainhomepage', model_name="mainhomepage",
name='menu_button_content', 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'), 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 ...@@ -5,20 +5,37 @@ from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('main', '0141_remove_mainhomepage_menu_button_name_and_more'), ("main", "0141_remove_mainhomepage_menu_button_name_and_more"),
] ]
operations = [ operations = [
migrations.AddField( migrations.AddField(
model_name='mainhomepage', model_name="mainhomepage",
name='popout_button_content', 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'), 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( migrations.AddField(
model_name='mainhomepage', model_name="mainhomepage",
name='popout_button_name', name="popout_button_name",
field=models.CharField(blank=True, max_length=16, null=True, verbose_name='Název vyskakovacího tlačítka'), 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 ...@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('main', '0142_mainhomepage_popout_button_content_and_more'), ("main", "0142_mainhomepage_popout_button_content_and_more"),
] ]
operations = [ operations = [
migrations.AlterField( migrations.AlterField(
model_name='mainhomepage', model_name="mainhomepage",
name='popout_button_content', 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'), 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 ...@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('uniweb', '0114_auto_20241122_1238'), ("uniweb", "0114_auto_20241122_1238"),
] ]
operations = [ operations = [
migrations.AlterField( migrations.AlterField(
model_name='uniwebhomepage', model_name="uniwebhomepage",
name='menu_button_content', 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'), 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 ...@@ -5,15 +5,27 @@ from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('uniweb', '0115_alter_uniwebhomepage_menu_button_content'), ("uniweb", "0115_alter_uniwebhomepage_menu_button_content"),
] ]
operations = [ operations = [
migrations.AlterField( migrations.AlterField(
model_name='uniwebhomepage', model_name="uniwebhomepage",
name='menu_button_content', 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í'), 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