From c52c1a6efcfa737a2defc9c41d9e29acab7cd3f4 Mon Sep 17 00:00:00 2001 From: Marmingen <106428188+Marmingen@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:46:03 +0100 Subject: [PATCH] NTI-work inclusion (#724) * NTI-work + Fehrm additions + flake8 enf * Make manage.py executable * Update src/involvement/locale/sv/LC_MESSAGES/django.po Co-authored-by: Daniel Fehrm * fix translations * empty migration * bring up to date * fix migration conflic in involvment + add copy of footer info + quickfix of serverbreaking issue in branding/models.py * access to manage.py --------- Co-authored-by: Daniel Fehrm Co-authored-by: Marmingen --- .gitignore | 8 +- src/blocks/models.py | 23 +++- src/blocks/templates/blocks/title.html | 12 +- src/branding/migrations/0004_footer_sv.py | 25 ++++ .../migrations/0005_fix_empty_footer.py | 21 +++ src/branding/models.py | 30 ++++- .../migrations/0030_auto_20230215_2336.py | 29 +++++ .../migrations/0055_auto_20230215_2336.py | 61 +++++++++ .../locale/sv/LC_MESSAGES/django.po | 80 +++++++----- .../migrations/0047_alter_application_gdpr.py | 18 +++ .../0048_alter_application_cover_letter.py | 18 +++ .../migrations/0049_merge_20230301_2016.py | 14 ++ src/members/locale/sv/LC_MESSAGES/django.po | 120 +++++++----------- src/members/templates/members/register.html | 23 ++-- .../templates/registration/logged_out.html | 2 +- .../static/sass/partials/pages/_news.scss | 6 + 16 files changed, 360 insertions(+), 130 deletions(-) create mode 100644 src/branding/migrations/0004_footer_sv.py create mode 100644 src/branding/migrations/0005_fix_empty_footer.py create mode 100644 src/google/migrations/0030_auto_20230215_2336.py create mode 100644 src/home/migrations/0055_auto_20230215_2336.py create mode 100644 src/involvement/migrations/0047_alter_application_gdpr.py create mode 100644 src/involvement/migrations/0048_alter_application_cover_letter.py create mode 100644 src/involvement/migrations/0049_merge_20230301_2016.py diff --git a/.gitignore b/.gitignore index 7b482c2c..b7b711f3 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,12 @@ coverage.xml .pytest_cache/ cover/ +# Translations +*.mo +*.pot +.pytest_cache/ +cover/ + # Translations *.mo *.pot @@ -166,9 +172,9 @@ CACHE/ # VSCode .vscode +# Docker data # Docker data postgres-data/ src/media/ *.log - diff --git a/src/blocks/models.py b/src/blocks/models.py index b792d5d0..845e3ea6 100644 --- a/src/blocks/models.py +++ b/src/blocks/models.py @@ -1,6 +1,7 @@ from django.utils.translation import gettext_lazy as _ from django import forms from wagtail.core import blocks +from wagtail.core.blocks.field_block import CharBlock, ChoiceBlock from wagtail.images.blocks import ImageChooserBlock from involvement.blocks import ContactCardBlock from instagram.blocks import InstagramFeedChooserBlock @@ -70,8 +71,26 @@ class Meta: class HeadingBlock(blocks.StructBlock): - title = blocks.CharBlock(required=True) - subtitle = blocks.CharBlock(required=False) + title = CharBlock(required=True) + title_alignment = ChoiceBlock( + default=("Center", _("Center")), + required=True, + choices=[ + ("Left", _("Left")), + ("Center", _("Center")), + ("Right", _("Right"))], + help_text=_("Choose the title alignment") + ) + subtitle = CharBlock(required=False) + subtitle_alignment = ChoiceBlock( + default=("Center", _("Center")), + required=True, + choices=[ + ("Left", _("Left")), + ("Center", _("Center")), + ("Right", _("Right"))], + help_text=_("Choose the subtitle alignment") + ) class Meta: label = _('Heading') diff --git a/src/blocks/templates/blocks/title.html b/src/blocks/templates/blocks/title.html index 0ed60c91..d3db94b8 100644 --- a/src/blocks/templates/blocks/title.html +++ b/src/blocks/templates/blocks/title.html @@ -1,2 +1,10 @@ -

{{ value.title }}

-{% if value.subtitle %}

{{ value.subtitle }}

{% endif %} \ No newline at end of file +

+ {{ value.title }} +

+{% if value.subtitle %} +

+ {{ value.subtitle }} +

+{% endif %} \ No newline at end of file diff --git a/src/branding/migrations/0004_footer_sv.py b/src/branding/migrations/0004_footer_sv.py new file mode 100644 index 00000000..500728f0 --- /dev/null +++ b/src/branding/migrations/0004_footer_sv.py @@ -0,0 +1,25 @@ +# Generated by Django 3.2.3 on 2023-02-15 22:38 + +from django.db import migrations +import wagtail.core.blocks +import wagtail.core.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('branding', '0003_footersettings'), + ] + + operations = [ + migrations.RenameField( + model_name='footersettings', + old_name='footer', + new_name='footer_en', + ), + migrations.AddField( + model_name='footersettings', + name='footer_sv', + field=wagtail.core.fields.StreamField([('column', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.IntegerBlock(max_value=12, min_value=1)), ('content', wagtail.core.blocks.RichTextBlock())]))], blank=True), + ), + ] diff --git a/src/branding/migrations/0005_fix_empty_footer.py b/src/branding/migrations/0005_fix_empty_footer.py new file mode 100644 index 00000000..ac10a0cf --- /dev/null +++ b/src/branding/migrations/0005_fix_empty_footer.py @@ -0,0 +1,21 @@ +# Generated by Django 3.2.17 on 2023-03-01 18:25 + +from django.db import migrations +from django.db.models import F +from utils.data_migrations import stream_field_filter_map + +# def del_footer_sv() + + +def copy_field(apps, schema): + MyModel = apps.get_model('branding', 'footersettings') + MyModel.objects.all().update(footer_sv=F('footer_en')) + +class Migration(migrations.Migration): + + dependencies = [ + ('branding', '0004_footer_sv'), + ] + + operations = [migrations.RunPython(copy_field), + ] diff --git a/src/branding/models.py b/src/branding/models.py index bb22ff2a..33820fe0 100644 --- a/src/branding/models.py +++ b/src/branding/models.py @@ -3,18 +3,19 @@ from django.utils.translation import gettext_lazy as _ from wagtail.admin.edit_handlers import FieldPanel, FieldRowPanel, \ - MultiFieldPanel, StreamFieldPanel + MultiFieldPanel, StreamFieldPanel, TabbedInterface, ObjectList from wagtail.core import blocks from wagtail.core.fields import StreamField from wagtail.images.edit_handlers import ImageChooserPanel +from utils.translation import TranslatedField @register_setting(icon='fa-window-minimize') class FooterSettings(BaseSetting): class Meta: - verbose_name = _('footer') + verbose_name = _('footer_en') # quickfix - footer = StreamField( + footer_en = StreamField( [('column', blocks.StructBlock([ ('size', blocks.IntegerBlock(min_value=1, max_value=12)), ('content', blocks.RichTextBlock()), @@ -22,10 +23,29 @@ class Meta: blank=True, ) - panels = [ - StreamFieldPanel('footer') + footer_sv = StreamField( + [('column', blocks.StructBlock([ + ('size', blocks.IntegerBlock(min_value=1, max_value=12)), + ('content', blocks.RichTextBlock()), + ]))], + blank=True, + ) + + footer = TranslatedField('footer_en', 'footer_sv') + + panels_sv = [ + StreamFieldPanel('footer_sv') ] + panels_en = [ + StreamFieldPanel('footer_en') + ] + + edit_handler = TabbedInterface([ + ObjectList(panels_en, heading=_("English")), + ObjectList(panels_sv, heading=_("Swedish")) + ]) + @register_setting(icon='openquote') class SocialMediaSettings(BaseSetting): diff --git a/src/google/migrations/0030_auto_20230215_2336.py b/src/google/migrations/0030_auto_20230215_2336.py new file mode 100644 index 00000000..ab017738 --- /dev/null +++ b/src/google/migrations/0030_auto_20230215_2336.py @@ -0,0 +1,29 @@ +# Generated by Django 3.2.3 on 2023-02-15 22:36 + +import blocks.models +from django.db import migrations +import instagram.blocks.instagram_feed_chooser_block +import involvement.blocks.contact_card_block +import wagtail.core.blocks +import wagtail.core.fields +import wagtail.images.blocks + + +class Migration(migrations.Migration): + + dependencies = [ + ('google', '0029_auto_20210512_0956'), + ] + + operations = [ + migrations.AlterField( + model_name='googleformpage', + name='results_en', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock())], blank=True), + ), + migrations.AlterField( + model_name='googleformpage', + name='results_sv', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock())], blank=True), + ), + ] diff --git a/src/home/migrations/0055_auto_20230215_2336.py b/src/home/migrations/0055_auto_20230215_2336.py new file mode 100644 index 00000000..866921e3 --- /dev/null +++ b/src/home/migrations/0055_auto_20230215_2336.py @@ -0,0 +1,61 @@ +# Generated by Django 3.2.3 on 2023-02-15 22:36 + +import blocks.models +from django.db import migrations +import events.blocks.event_list_block +import google.models +import instagram.blocks.instagram_feed_chooser_block +import involvement.blocks.contact_card_block +import wagtail.core.blocks +import wagtail.core.fields +import wagtail.images.blocks + + +class Migration(migrations.Migration): + + dependencies = [ + ('home', '0054_alter_webpage_body_en'), + ] + + operations = [ + migrations.AlterField( + model_name='formpage', + name='intro_en', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('contact_card', involvement.blocks.contact_card_block.ContactCardBlock())], blank=True, verbose_name='English Introduction'), + ), + migrations.AlterField( + model_name='formpage', + name='intro_sv', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('contact_card', involvement.blocks.contact_card_block.ContactCardBlock())], blank=True, verbose_name='Swedish Introduction'), + ), + migrations.AlterField( + model_name='formpage', + name='thank_you_text_en', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('contact_card', involvement.blocks.contact_card_block.ContactCardBlock())], blank=True, verbose_name='English Thank You Text'), + ), + migrations.AlterField( + model_name='formpage', + name='thank_you_text_sv', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('contact_card', involvement.blocks.contact_card_block.ContactCardBlock())], blank=True, verbose_name='Swedish Thank You Text'), + ), + migrations.AlterField( + model_name='homepage', + name='body_en', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('news', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=False)), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('index', wagtail.core.blocks.PageChooserBlock(page_type=['news.NewsIndexPage'])), ('items', wagtail.core.blocks.IntegerBlock())])), ('html', blocks.models.HTMLCodeBlock())], blank=True), + ), + migrations.AlterField( + model_name='homepage', + name='body_sv', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('news', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=False)), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('index', wagtail.core.blocks.PageChooserBlock(page_type=['news.NewsIndexPage'])), ('items', wagtail.core.blocks.IntegerBlock())])), ('html', blocks.models.HTMLCodeBlock())], blank=True), + ), + migrations.AlterField( + model_name='webpage', + name='body_en', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('google_calendar', wagtail.core.blocks.StructBlock([('calendars', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('source', wagtail.core.blocks.CharBlock(help_text='Calendar ID as given by google calendar')), ('color', google.models.ColorBlock())]))), ('mode', wagtail.core.blocks.ChoiceBlock(choices=[('WEEK', 'Week'), ('', 'Month'), ('AGENDA', 'Agenda')], required=False)), ('height', wagtail.core.blocks.IntegerBlock()), ('background_color', google.models.ColorBlock()), ('week_start', wagtail.core.blocks.ChoiceBlock(choices=[('2', 'Monday'), ('1', 'Sunday'), ('7', 'Saturday')]))])), ('google_drive', wagtail.core.blocks.StructBlock([('folder_id', wagtail.core.blocks.CharBlock()), ('view', wagtail.core.blocks.ChoiceBlock(choices=[('list', 'List'), ('grid', 'Grid')])), ('height', wagtail.core.blocks.IntegerBlock())])), ('google_form', wagtail.core.blocks.StructBlock([('form_id', wagtail.core.blocks.CharBlock()), ('height', wagtail.core.blocks.IntegerBlock())])), ('news', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=False)), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('index', wagtail.core.blocks.PageChooserBlock(page_type=['news.NewsIndexPage'])), ('items', wagtail.core.blocks.IntegerBlock())])), ('html', blocks.models.HTMLCodeBlock()), ('eventbrite', wagtail.core.blocks.StructBlock([('eventbriteToken', wagtail.core.blocks.CharBlock(required=True))])), ('events', wagtail.core.blocks.StructBlock([('events', wagtail.core.blocks.ListBlock(events.blocks.event_list_block.EventBlock))]))], blank=True), + ), + migrations.AlterField( + model_name='webpage', + name='body_sv', + field=wagtail.core.fields.StreamField([('section', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')], help_text='Include padding for this section', required=False)), ('full_width', wagtail.core.blocks.BooleanBlock(help_text='Expand this section to full page width', required=False)), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])), ('columns', wagtail.core.blocks.StructBlock([('columns', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('width', wagtail.core.blocks.ChoiceBlock(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12)], help_text='Width out of 12')), ('content', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock()), ('Accordion', wagtail.core.blocks.StructBlock([('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('header', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))])))])), ('modal_image', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('body', wagtail.core.blocks.StreamBlock([('heading', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('title_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the title alignment')), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('subtitle_alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')], help_text='Choose the subtitle alignment'))])), ('image', wagtail.core.blocks.StructBlock([('padding', wagtail.core.blocks.BooleanBlock(required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('height', wagtail.core.blocks.IntegerBlock(default=400, min_value=1)), ('link', wagtail.core.blocks.URLBlock(required=False))])), ('image_overlay', wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False)), ('text_color', wagtail.core.blocks.ChoiceBlock(choices=[('text-light', 'Light'), ('text-dark', 'Dark')])), ('buttons', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))], required=False))])), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())])), ('divider', blocks.models.DividerBlock()), ('button_group', wagtail.core.blocks.StructBlock([('buttons', wagtail.core.blocks.ListBlock(blocks.models.ButtonBlock))])), ('icons', wagtail.core.blocks.StructBlock([('icons', wagtail.core.blocks.ListBlock(blocks.models.IconBlock))])), ('instagram', instagram.blocks.instagram_feed_chooser_block.InstagramFeedChooserBlock(help_text='Instagram feeds are created in Branding in the left menu. If you can not see it, contact info@utn.se to get access')), ('member_check', wagtail.core.blocks.StructBlock([])), ('html_code_block', blocks.models.HTMLCodeBlock())]))]))]))])))])), ('two_column_grid', wagtail.core.blocks.StructBlock([('height', wagtail.core.blocks.IntegerBlock(default=400, help_text='Row height in px', max_value=800, min_value=1)), ('rows', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('flip', wagtail.core.blocks.BooleanBlock(help_text='Swap position of image and paragraph', required=False)), ('image', wagtail.images.blocks.ImageChooserBlock()), ('paragraph', wagtail.core.blocks.StructBlock([('alignment', wagtail.core.blocks.ChoiceBlock(choices=[('Left', 'Left'), ('Center', 'Center'), ('Right', 'Right')])), ('text', wagtail.core.blocks.RichTextBlock())]))])))])), ('countdown', wagtail.core.blocks.StructBlock([('size', wagtail.core.blocks.ChoiceBlock(choices=[('S', 'Small'), ('M', 'Medium'), ('L', 'Large')])), ('expires', wagtail.core.blocks.DateTimeBlock()), ('pre_title', wagtail.core.blocks.CharBlock(required=False)), ('years_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('months_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('days_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('hours_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('minutes_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('seconds_label', wagtail.core.blocks.CharBlock(help_text='leave empty to skip this counter in the countdown', required=False)), ('post_title', wagtail.core.blocks.CharBlock(required=False))])), ('contacts', wagtail.core.blocks.StructBlock([('contacts', wagtail.core.blocks.ListBlock(involvement.blocks.contact_card_block.ContactCardBlock()))])), ('events', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=True)), ('show_facebook', wagtail.core.blocks.BooleanBlock(help_text='Whether to embed a Facebook page', required=False)), ('facebook_page_name', wagtail.core.blocks.CharBlock(help_text='Name of the page to show. (Must be public or accessible by the registered app_id)', required=False)), ('show_youtube', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the last video from a Youtube-channel', required=False)), ('youtube_channel_id', wagtail.core.blocks.CharBlock(required=False)), ('show_google_calendar', wagtail.core.blocks.BooleanBlock(help_text='Whether to show the next few events from a google calendar', required=False)), ('google_calendar_id', wagtail.core.blocks.CharBlock(required=False))])), ('logos', wagtail.core.blocks.StructBlock([('logos', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('link', wagtail.core.blocks.URLBlock(required=False)), ('description', wagtail.core.blocks.CharBlock(required=False))])))])), ('counters', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock()), ('counters', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('icon', wagtail.core.blocks.CharBlock(help_text='Material icon font icon text, as found on: https://material.io/icons')), ('value', wagtail.core.blocks.CharBlock()), ('description', wagtail.core.blocks.CharBlock(required=False))]))), ('style', wagtail.core.blocks.ChoiceBlock(choices=[('light', 'Light'), ('dark', 'Dark')]))])), ('image_text_card', wagtail.core.blocks.StructBlock([('cards', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('image', wagtail.images.blocks.ImageChooserBlock()), ('title', wagtail.core.blocks.CharBlock()), ('text', wagtail.core.blocks.RichTextBlock(required=False))])))]))]))])), ('divider', blocks.models.DividerBlock()), ('google_calendar', wagtail.core.blocks.StructBlock([('calendars', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('source', wagtail.core.blocks.CharBlock(help_text='Calendar ID as given by google calendar')), ('color', google.models.ColorBlock())]))), ('mode', wagtail.core.blocks.ChoiceBlock(choices=[('WEEK', 'Week'), ('', 'Month'), ('AGENDA', 'Agenda')], required=False)), ('height', wagtail.core.blocks.IntegerBlock()), ('background_color', google.models.ColorBlock()), ('week_start', wagtail.core.blocks.ChoiceBlock(choices=[('2', 'Monday'), ('1', 'Sunday'), ('7', 'Saturday')]))])), ('google_drive', wagtail.core.blocks.StructBlock([('folder_id', wagtail.core.blocks.CharBlock()), ('view', wagtail.core.blocks.ChoiceBlock(choices=[('list', 'List'), ('grid', 'Grid')])), ('height', wagtail.core.blocks.IntegerBlock())])), ('google_form', wagtail.core.blocks.StructBlock([('form_id', wagtail.core.blocks.CharBlock()), ('height', wagtail.core.blocks.IntegerBlock())])), ('news', wagtail.core.blocks.StructBlock([('title', wagtail.core.blocks.CharBlock(required=False)), ('subtitle', wagtail.core.blocks.CharBlock(required=False)), ('index', wagtail.core.blocks.PageChooserBlock(page_type=['news.NewsIndexPage'])), ('items', wagtail.core.blocks.IntegerBlock())])), ('html', blocks.models.HTMLCodeBlock()), ('eventbrite', wagtail.core.blocks.StructBlock([('eventbriteToken', wagtail.core.blocks.CharBlock(required=True))]))], blank=True), + ), + ] diff --git a/src/involvement/locale/sv/LC_MESSAGES/django.po b/src/involvement/locale/sv/LC_MESSAGES/django.po index 676c656a..e7d3433b 100644 --- a/src/involvement/locale/sv/LC_MESSAGES/django.po +++ b/src/involvement/locale/sv/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-23 15:37+0100\n" -"PO-Revision-Date: 2022-11-23 15:43+0100\n" +"POT-Creation-Date: 2023-02-15 23:58+0100\n" +"PO-Revision-Date: 2023-02-16 22:31+0100\n" "Last-Translator: Jip J. Dekker \n" "Language-Team: \n" "Language: sv_SE\n" @@ -11,7 +11,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.2\n" +"X-Generator: Poedit 3.2.2\n" #: apps.py:7 wagtail_hooks.py:309 msgid "Involvement" @@ -30,10 +30,8 @@ msgid "The submitted status was invalid." msgstr "Den angivna statusen var ej giltig." #: forms/appointment_form.py:17 -#, fuzzy -#| msgid "person number" msgid "Person number" -msgstr "personnummer" +msgstr "Personnummer" #: forms/appointment_form.py:18 #, fuzzy @@ -51,7 +49,7 @@ msgstr "" #, fuzzy, python-format #| msgid "No user with the username %(user)s exists." msgid "No user with the person number %(pnr)s exists." -msgstr "Det finns ingen användare med användarnamnet %(user)s." +msgstr "Det finns ingen användare med personnummret %(pnr)s." #: forms/appointment_form.py:57 #, fuzzy, python-format @@ -62,7 +60,8 @@ msgid "" "User with person number %(pnr)s already applied for this position and can " "not be appointed through the overturn field." msgstr "" -"Användaren %(user)s har redan sökt den här posten och kan inte bli tillsatt." +"Användaren med personnummret %(pnr)s har redan sökt den här posten och kan " +"inte bli tillsatt." #: forms/appointment_form.py:75 #, python-format @@ -73,43 +72,43 @@ msgstr "" "Du kan inte tillsätta sökande till %(current)s. Det maximala antalet för " "denna post är %(max)s." -#: forms/approval_form.py:11 models/application.py:39 +#: forms/approval_form.py:11 models/application.py:37 msgid "Approved" msgstr "Nominerad" -#: forms/approval_form.py:12 models/application.py:40 +#: forms/approval_form.py:12 models/application.py:38 msgid "Disapproved" msgstr "Inte Nominerad" -#: models/application.py:31 +#: models/application.py:29 msgid "Application" msgstr "Ansökning" -#: models/application.py:32 wagtail_hooks.py:242 +#: models/application.py:30 wagtail_hooks.py:242 msgid "Applications" msgstr "Ansökningar" -#: models/application.py:37 +#: models/application.py:35 msgid "Draft" msgstr "Utkast" -#: models/application.py:38 +#: models/application.py:36 msgid "Submitted" msgstr "Inskickade" -#: models/application.py:41 +#: models/application.py:39 msgid "Appointed" msgstr "Tillsatt" -#: models/application.py:42 +#: models/application.py:40 msgid "Turned down" msgstr "Avslagen" -#: models/application.py:48 +#: models/application.py:46 msgid "Status" msgstr "Status" -#: models/application.py:55 +#: models/application.py:53 msgid "Cover Letter" msgstr "Ansökningsbrev" @@ -123,15 +122,20 @@ msgstr "" "Skriv en presentation av dig själv och en beskrivning av varför du är den vi " "letar efter" -#: models/application.py:60 +#: models/application.py:58 msgid "Qualifications" msgstr "Meriter" -#: models/application.py:61 +#: models/application.py:59 msgid "Give a summary of relevant qualifications" msgstr "Ge en sammanfattning av relevanta meriter" #: models/application.py:65 +#, fuzzy +#| msgid "" +#| "I accept that my data is saved in accordance with Uppsala Union of " +#| "Engineering and Science Students integrity policy that can be found " +#| "within the link: " msgid "" "\n" " I accept that my data is saved in accordance\n" @@ -146,12 +150,13 @@ msgstr "" #: models/application.py:84 +#: models/application.py:84 msgid "Rejection date" -msgstr "" +msgstr "Datum för avslag" #: models/contact_card.py:76 models/contact_card.py:84 msgid "picture missing" -msgstr "" +msgstr "bild saknas" #: models/contact_card.py:83 templatetags/involvement_tags.py:34 msgid "Vacant Position" @@ -362,7 +367,7 @@ msgstr "Email att kontakta nuvarande person tillsatt på posten" #: models/role.py:112 msgid "Enter a phone number to contact this role." -msgstr "Ange ett telefonnummer som din referens kan nås på" +msgstr "Ange ett telefonnummer som din referens kan nås på." #: models/role.py:115 #, fuzzy @@ -436,7 +441,7 @@ msgstr "referenser" #: templates/involvement/admin/application_overview_fields.html:46 msgid "application status" -msgstr "Ansökans status" +msgstr "ansökans status" #: templates/involvement/admin/email_extend_deadline.html:1 #, python-format @@ -445,18 +450,23 @@ msgid "" "for this position ended yesterday. If this position should be filled, you " "can extend the deadline by clicking the following link:" msgstr "" +"Det verkar som att ingen har sökt positionen `%(position)s'. Söket stängde " +"igår. Om positionen är vital kan du förlänga söket genom att klicka på " +"följande länk:" #: templates/involvement/admin/email_extend_deadline.html:5 msgid "" "Just extending the deadline might not be enough. Make sure you make some " "extra noise about the position!" msgstr "" +"Att endast förlänga söket kanske inte räcker. Se till att sprida " +"information om positionen!" #: templates/involvement/admin/extend_deadline_subject.txt:2 #, fuzzy, python-format #| msgid "Approve applicants for %s" msgid "[UTN] No applicants for %(position)s" -msgstr "Godkänn sökande till %s" +msgstr "[UTN] Inga sökande till %(position)s" #: templates/involvement/admin/position_appointment.html:22 msgid "" @@ -468,7 +478,7 @@ msgstr "" #: templates/involvement/admin/position_appointment.html:63 msgid "manual appointment" -msgstr "Manuell tillsättning" +msgstr "manuell tillsättning" #: templates/involvement/admin/position_appointment.html:88 #: templates/involvement/admin/position_approval.html:73 @@ -603,7 +613,7 @@ msgstr "Mandatperiod" #: templates/involvement/open_positions.html:42 #: templates/involvement/position.html:36 msgid "role description" -msgstr "Rollbeskrivning" +msgstr "rollbeskrivning" #: templates/involvement/open_positions.html:46 #: templates/involvement/open_positions.html:58 @@ -631,7 +641,7 @@ msgstr "" #: templates/involvement/position.html:27 msgid "contact election official" -msgstr "Kontakta sökansvarig" +msgstr "kontakta sökansvarig" #: templates/involvement/position.html:37 msgid "" @@ -655,7 +665,7 @@ msgstr "logga in" #: templates/involvement/tags/contact_card.html:8 msgid "UTN logo" -msgstr "" +msgstr "UTN logotyp" #: templates/involvement/tags/contact_card.html:22 msgid "send email" @@ -677,11 +687,11 @@ msgstr "telefonnummer" #: templates/modeladmin/involvement/position/inspect.html:36 #: templates/modeladmin/involvement/position/inspect.html:72 msgid "No applications have been submitted for this position." -msgstr "Din ansökan har skickats." +msgstr "Inga ansökningar har har skickats för denna position." #: templates/modeladmin/involvement/position/inspect.html:69 msgid "See application" -msgstr "granska ansökan" +msgstr "Granska ansökan" #: templates/modeladmin/involvement/role/inspect.html:6 msgid "role" @@ -697,11 +707,11 @@ msgstr "Inga ansökningar har godkänts för denna roll." #: templates/modeladmin/involvement/role/inspect.html:28 msgid "Earlier applicants" -msgstr "Tidigare ansökande" +msgstr "Tidigare ansökningar" #: templates/modeladmin/involvement/role/inspect.html:43 msgid "No earlier applicants have been approved for this role." -msgstr "Inga tidigare ansökningar har godkänts för denna roll" +msgstr "Inga tidigare ansökningar har godkänts för denna roll." #: templates/modeladmin/involvement/team/inspect.html:10 msgid "members" @@ -717,12 +727,12 @@ msgstr "Dina val har sparats." #: views/admin_extend_deadline.py:21 msgid "This position is not due for an extension yet." -msgstr "" +msgstr "Denna tjänst är inte aktuell för förlängning ännu." #: views/admin_extend_deadline.py:26 msgid "" "A position with submitted applications cannot be automatically extended." -msgstr "En position med inlämnade ansökningar kan inte automatiskt förlängas" +msgstr "En position med inlämnade ansökningar kan inte automatiskt förlängas." #: views/admin_extend_deadline.py:34 #, python-format diff --git a/src/involvement/migrations/0047_alter_application_gdpr.py b/src/involvement/migrations/0047_alter_application_gdpr.py new file mode 100644 index 00000000..5b94575e --- /dev/null +++ b/src/involvement/migrations/0047_alter_application_gdpr.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.3 on 2023-02-15 22:36 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('involvement', '0046_alter_application_gdpr'), + ] + + operations = [ + migrations.AlterField( + model_name='application', + name='gdpr', + field=models.BooleanField(default=False, help_text='\n I accept that my data is saved in accordance\n with Uppsala Union of Engineering and Science Students integrity\n policy that can be found within the link:\n ', verbose_name='GDPR'), + ), + ] diff --git a/src/involvement/migrations/0048_alter_application_cover_letter.py b/src/involvement/migrations/0048_alter_application_cover_letter.py new file mode 100644 index 00000000..0edb905b --- /dev/null +++ b/src/involvement/migrations/0048_alter_application_cover_letter.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.17 on 2023-03-01 17:46 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('involvement', '0047_auto_20221114_1721'), + ] + + operations = [ + migrations.AlterField( + model_name='application', + name='cover_letter', + field=models.TextField(help_text='Present yourself and state why you are\n who we are looking for', verbose_name='Cover Letter'), + ), + ] diff --git a/src/involvement/migrations/0049_merge_20230301_2016.py b/src/involvement/migrations/0049_merge_20230301_2016.py new file mode 100644 index 00000000..8b3b1111 --- /dev/null +++ b/src/involvement/migrations/0049_merge_20230301_2016.py @@ -0,0 +1,14 @@ +# Generated by Django 3.2.17 on 2023-03-01 19:16 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('involvement', '0047_alter_application_gdpr'), + ('involvement', '0048_alter_application_cover_letter'), + ] + + operations = [ + ] diff --git a/src/members/locale/sv/LC_MESSAGES/django.po b/src/members/locale/sv/LC_MESSAGES/django.po index 08ba6f08..9c44ee01 100644 --- a/src/members/locale/sv/LC_MESSAGES/django.po +++ b/src/members/locale/sv/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-23 01:37+0100\n" +"POT-Creation-Date: 2023-02-15 23:54+0100\n" "PO-Revision-Date: 2017-06-26 10:25+0200\n" "Last-Translator: Jip J. Dekker \n" "Language-Team: \n" @@ -21,7 +21,7 @@ msgstr "Underhåll av UTN-medlemmar" msgid "Username or SSN (YYYYMMDD-XXXX)" msgstr "Användarnamn eller personnummer (YYYYMMDD-XXXX)" -#: fields.py:11 forms.py:333 forms.py:401 models/member.py:198 +#: fields.py:11 forms.py:334 forms.py:402 models/member.py:198 msgid "Phone number" msgstr "Telefonnummer" @@ -29,81 +29,81 @@ msgstr "Telefonnummer" msgid "Invalid phonenumber" msgstr "Ogiltigt telefonnummer" -#: forms.py:28 forms.py:103 forms.py:327 forms.py:392 models/member.py:169 +#: forms.py:28 forms.py:104 forms.py:328 forms.py:393 models/member.py:169 msgid "Person number" msgstr "Personnummer" -#: forms.py:29 forms.py:104 forms.py:328 forms.py:393 +#: forms.py:29 forms.py:105 forms.py:329 forms.py:394 msgid "Person number using the YYYYMMDD-XXXX format." msgstr "Personnummer på formen ÅÅÅÅMDD-NNNN." -#: forms.py:58 forms.py:203 models/member.py:137 +#: forms.py:58 forms.py:204 models/member.py:137 msgid "A user with that username already exists." msgstr "En användare med det användrnamnet finns redan" -#: forms.py:66 forms.py:433 +#: forms.py:66 forms.py:434 msgid "Incorrect SSN" msgstr "Felaktigt personnummer" -#: forms.py:204 +#: forms.py:205 msgid "The two password fields didn't match." msgstr "" -#: forms.py:207 models/member.py:164 +#: forms.py:208 models/member.py:164 msgid "Name" msgstr "" -#: forms.py:210 +#: forms.py:211 #, fuzzy #| msgid "Password reset" msgid "Password" msgstr "Återställning av lösenord" -#: forms.py:212 +#: forms.py:213 msgid "Leave blank if not changing." msgstr "" -#: forms.py:214 +#: forms.py:215 #, fuzzy #| msgid "Password changed" msgid "Password confirmation" msgstr "Lösenordet har ändrats" -#: forms.py:216 +#: forms.py:217 #, fuzzy #| msgid "Enter the name of the section" msgid "Enter the same password as above, for verification." msgstr "Ange namnet på sektionen" -#: forms.py:219 +#: forms.py:220 msgid "Administrator" msgstr "" -#: forms.py:220 +#: forms.py:221 msgid "Administrators have full access to manage any object or setting." msgstr "" -#: forms.py:337 forms.py:397 +#: forms.py:338 forms.py:398 msgid "Email" msgstr "" -#: forms.py:341 forms.py:405 models/member.py:212 +#: forms.py:342 forms.py:406 models/member.py:212 msgid "Registration year" msgstr "Inskrivningsår" -#: forms.py:346 wagtail_hooks.py:42 +#: forms.py:347 wagtail_hooks.py:42 msgid "Study Program" msgstr "Program" -#: forms.py:351 forms.py:415 +#: forms.py:352 forms.py:416 msgid "Section" msgstr "Sektion" -#: forms.py:355 models/member.py:184 +#: forms.py:356 models/member.py:184 msgid "Membership status" msgstr "Medlemsstatus" -#: forms.py:410 models/member.py:224 +#: forms.py:411 models/member.py:224 msgid "Study program" msgstr "Program" @@ -143,11 +143,11 @@ msgstr "" msgid "Unknown" msgstr "Okänt" -#: models/member.py:176 models/member.py:363 +#: models/member.py:176 models/member.py:368 msgid "Nonmember" msgstr "Icke medlem" -#: models/member.py:177 models/member.py:363 +#: models/member.py:177 models/member.py:368 msgid "Member" msgstr "Medlem" @@ -340,11 +340,11 @@ msgstr "spara" msgid "Register" msgstr "Registrera" -#: templates/members/register.html:6 templates/registration/login.html:35 +#: templates/members/register.html:6 templates/registration/login.html:33 msgid "Create a UTN account" msgstr "Skapa ett UTN-konto" -#: templates/members/register.html:47 +#: templates/members/register.html:48 msgid "register" msgstr "register" @@ -352,6 +352,10 @@ msgstr "register" msgid "Logged out" msgstr "Utloggad" +#: templates/registration/logged_out.html:5 +msgid "Goodbye!" +msgstr "Hejdå!" + #: templates/registration/logged_out.html:7 msgid "You have succesfully been logged out." msgstr "Du har blivit utloggad." @@ -364,15 +368,7 @@ msgstr "Logga in" msgid "Log into your UTN account" msgstr "Logga in på ditt UTN-konto" -#: templates/registration/login.html:16 -msgid "" -"If you had an UTN-account before the 23rd of December 2019, you must create " -"a new one because of an update of our database." -msgstr "" -"Om du hade ett UTN-konto före den 23:e december 2019 måste du skapa ett nytt, " -"detta på grund av en uppdatering i vår databas." - -#: templates/registration/login.html:20 +#: templates/registration/login.html:18 msgid "" "Your account doesn't have access to this page. To proceed, please login with " "an account that has access." @@ -380,11 +376,11 @@ msgstr "" "Du har inte åtkomst till den här sidan. Var vänlig logga in på ett " "autkoriserat konto." -#: templates/registration/login.html:31 +#: templates/registration/login.html:29 msgid "Sign In" msgstr "Logga in" -#: templates/registration/login.html:34 +#: templates/registration/login.html:32 msgid "I forgot my password" msgstr "Jag har glömt mitt lösenord" @@ -424,7 +420,7 @@ msgstr "Ändra mitt lösenord" #: templates/registration/password_reset_complete.html:7 #: templates/registration/password_reset_complete.html:9 #: templates/registration/password_reset_confirm.html:7 -#: templates/registration/password_reset_confirm.html:9 views.py:72 +#: templates/registration/password_reset_confirm.html:9 views.py:78 msgid "Password reset" msgstr "Återställning av lösenord" @@ -514,49 +510,15 @@ msgstr "Återställ mitt lösenord" msgid "[UTN] Password reset request" msgstr "[UTN] Återställ lösenord" -#: templates/wagtailusers/users/create.html:4 -#: templates/wagtailusers/users/create.html:7 -#: templates/wagtailusers/users/create.html:47 -msgid "Add user" -msgstr "" - -#: templates/wagtailusers/users/create.html:11 -#: templates/wagtailusers/users/edit.html:11 -#, fuzzy -#| msgid "Account Settings" -msgid "Account" -msgstr "Kontoinställningar" - -#: templates/wagtailusers/users/create.html:12 -#: templates/wagtailusers/users/create.html:40 -#: templates/wagtailusers/users/edit.html:12 -msgid "Roles" -msgstr "" - -#: templates/wagtailusers/users/edit.html:4 -#: templates/wagtailusers/users/edit.html:7 -msgid "Editing" -msgstr "" - -#: templates/wagtailusers/users/edit.html:47 -#: templates/wagtailusers/users/edit.html:62 -msgid "Save" -msgstr "" - -#: templates/wagtailusers/users/edit.html:49 -#: templates/wagtailusers/users/edit.html:64 -msgid "Delete user" -msgstr "" - -#: views.py:29 +#: views.py:29 views.py:39 msgid "Your account settings have been saved." msgstr "Dina kontoinställningar har sparats." -#: views.py:101 +#: views.py:107 msgid "Your email address has been confirmed." msgstr "Din emailadress har bekräftats." -#: views.py:104 +#: views.py:110 msgid "The provided confirmation token was invalid." msgstr "Bekräftelselänken var ogiltig." @@ -576,6 +538,18 @@ msgstr "Sektioner" msgid "Education" msgstr "Utbildning" +#~ msgid "" +#~ "If you had an UTN-account before the 23rd of December 2019, you must " +#~ "create a new one because of an update of our database." +#~ msgstr "" +#~ "Om du hade ett UTN-konto före den 23:e december 2019 måste du skapa ett " +#~ "nytt, detta på grund av en uppdatering i vår databas." + +#, fuzzy +#~| msgid "Account Settings" +#~ msgid "Account" +#~ msgstr "Kontoinställningar" + #~ msgid "Birthday" #~ msgstr "Födelsedag" diff --git a/src/members/templates/members/register.html b/src/members/templates/members/register.html index 9cec01c6..b034f6e3 100644 --- a/src/members/templates/members/register.html +++ b/src/members/templates/members/register.html @@ -14,32 +14,33 @@ {% csrf_token %}
- +
- {% materialize_field form.person_number 'fiber_pin' %} + {% materialize_field form.username 'account_circle' %}
-
- {% materialize_field form.phone_number 'phone' %} +
+ {% materialize_field form.email 'email' %}
- {% materialize_field form.email 'email' %} + {% materialize_field form.password1 'lock' %}
-
- {% materialize_field form.section 'account_balance' %} +
+ {% materialize_field form.password2 %}
- {% materialize_field form.username 'account_circle' %} + {% materialize_field form.person_number 'fiber_pin' %}
- +
- {% materialize_field form.password1 'lock' %} + {% materialize_field form.section 'account_balance' %}
+
- {% materialize_field form.password2 %} + {% materialize_field form.phone_number 'phone' %}
diff --git a/src/members/templates/registration/logged_out.html b/src/members/templates/registration/logged_out.html index 0391a2af..b2cb9008 100644 --- a/src/members/templates/registration/logged_out.html +++ b/src/members/templates/registration/logged_out.html @@ -2,6 +2,6 @@ {% load i18n %} {% block title %}{% trans 'Logged out' %}{% endblock %} -{% block error_code %}Hejdå!{% endblock %} +{% block error_code %}{% trans 'Goodbye!' %}{% endblock %} {% block video %}{% endblock %} {% block error_message %}{% trans 'You have succesfully been logged out.' %}{% endblock %} \ No newline at end of file diff --git a/src/moore/static/sass/partials/pages/_news.scss b/src/moore/static/sass/partials/pages/_news.scss index cc10292c..1bb05620 100644 --- a/src/moore/static/sass/partials/pages/_news.scss +++ b/src/moore/static/sass/partials/pages/_news.scss @@ -117,4 +117,10 @@ .post-detail { padding: 60px 0; + ul { + list-style-position: inside; + & > li { + list-style-type: initial; + } + } } \ No newline at end of file