kopia lustrzana https://github.com/wagtail/bakerydemo
Support for the classname="full" has been removed
rodzic
13c5993f82
commit
ec0715d857
|
@ -184,7 +184,7 @@ class StandardPage(Page):
|
|||
BaseStreamBlock(), verbose_name="Page body", blank=True, use_json_field=True
|
||||
)
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("body"),
|
||||
FieldPanel("image"),
|
||||
]
|
||||
|
@ -303,7 +303,7 @@ class HomePage(Page):
|
|||
MultiFieldPanel(
|
||||
[
|
||||
FieldPanel("image"),
|
||||
FieldPanel("hero_text", classname="full"),
|
||||
FieldPanel("hero_text"),
|
||||
MultiFieldPanel(
|
||||
[
|
||||
FieldPanel("hero_cta"),
|
||||
|
@ -382,7 +382,7 @@ class GalleryPage(Page):
|
|||
)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("body"),
|
||||
FieldPanel("image"),
|
||||
FieldPanel("collection"),
|
||||
|
@ -423,7 +423,7 @@ class FormPage(AbstractEmailForm):
|
|||
FieldPanel("image"),
|
||||
FieldPanel("body"),
|
||||
InlinePanel("form_fields", label="Form fields"),
|
||||
FieldPanel("thank_you_text", classname="full"),
|
||||
FieldPanel("thank_you_text"),
|
||||
MultiFieldPanel(
|
||||
[
|
||||
FieldRowPanel(
|
||||
|
|
|
@ -72,8 +72,8 @@ class BlogPage(Page):
|
|||
date_published = models.DateField("Date article published", blank=True, null=True)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("subtitle", classname="full"),
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("subtitle"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
FieldPanel("body"),
|
||||
FieldPanel("date_published"),
|
||||
|
@ -140,7 +140,7 @@ class BlogIndexPage(RoutablePageMixin, Page):
|
|||
)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
]
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ class BreadPage(Page):
|
|||
ingredients = ParentalManyToManyField("BreadIngredient", blank=True)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
FieldPanel("body"),
|
||||
FieldPanel("origin"),
|
||||
|
@ -162,7 +162,7 @@ class BreadsIndexPage(Page):
|
|||
)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
]
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ class LocationsIndexPage(Page):
|
|||
return context
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
]
|
||||
|
||||
|
@ -141,11 +141,11 @@ class LocationPage(Page):
|
|||
|
||||
# Fields to show to the editor in the admin view
|
||||
content_panels = [
|
||||
FieldPanel("title", classname="full"),
|
||||
FieldPanel("introduction", classname="full"),
|
||||
FieldPanel("title"),
|
||||
FieldPanel("introduction"),
|
||||
FieldPanel("image"),
|
||||
FieldPanel("body"),
|
||||
FieldPanel("address", classname="full"),
|
||||
FieldPanel("address"),
|
||||
FieldPanel("lat_long"),
|
||||
InlinePanel("hours_of_operation", label="Hours of Operation"),
|
||||
]
|
||||
|
|
Ładowanie…
Reference in New Issue