# Generated by Django 2.0.8 on 2018-08-24 12:10

from django.db import migrations

import wagtail.blocks
import wagtail.fields

import ocyan.plugin.wagtail.blocks


class Migration(migrations.Migration):
    dependencies = [
        ("ocyan_plugin_wagtail", "0004_auto_20180823_2028"),
    ]

    operations = [
        migrations.AddField(
            model_name="ocyansettings",
            name="footer",
            field=wagtail.fields.StreamField(
                [
                    (
                        "text",
                        wagtail.blocks.StructBlock(
                            [
                                (
                                    "heading",
                                    ocyan.plugin.wagtail.blocks.WrappedCharBlock(
                                        help_text="Heading of the content block.",
                                        label="Heading",
                                        required=False,
                                        tag="h4",
                                    ),
                                ),
                                ("content", wagtail.blocks.RichTextBlock()),
                            ]
                        ),
                    ),
                    (
                        "page_list",
                        wagtail.blocks.StructBlock(
                            [
                                (
                                    "heading",
                                    ocyan.plugin.wagtail.blocks.WrappedCharBlock(
                                        help_text="Heading of the content block.",
                                        label="Heading",
                                        required=False,
                                        tag="h4",
                                    ),
                                ),
                                (
                                    "page",
                                    wagtail.blocks.PageChooserBlock(
                                        help_text="List pages below this page",
                                        label="Page",
                                    ),
                                ),
                            ]
                        ),
                    ),
                ],
                default=[],
            ),
        ),
        migrations.AddField(
            model_name="ocyansettings",
            name="mini_footer",
            field=wagtail.fields.StreamField([], default=[]),
        ),
    ]
