Skip to content
Snippets Groups Projects
Commit 9c83456e authored by Štěpán Farka's avatar Štěpán Farka
Browse files

Merge remote-tracking branch 'origin/feature/enhancements-2' into feature/majak-misc-enhancements

parents 3b5b6f6b c0345bb0
No related branches found
No related tags found
2 merge requests!435Release upgrades,!430Feature/majak misc enhancements
Pipeline #7069 passed
...@@ -127,7 +127,7 @@ class DistrictHomePage(MetadataPageMixin, CalendarMixin, Page): ...@@ -127,7 +127,7 @@ class DistrictHomePage(MetadataPageMixin, CalendarMixin, Page):
FieldPanel("show_calendar_on_hp"), FieldPanel("show_calendar_on_hp"),
] ]
promote_panels = [ promote_panels = MetadataPageMixin.promote_panels + [
MultiFieldPanel( MultiFieldPanel(
[ [
FieldPanel("facebook"), FieldPanel("facebook"),
...@@ -135,7 +135,7 @@ class DistrictHomePage(MetadataPageMixin, CalendarMixin, Page): ...@@ -135,7 +135,7 @@ class DistrictHomePage(MetadataPageMixin, CalendarMixin, Page):
FieldPanel("twitter"), FieldPanel("twitter"),
FieldPanel("youtube"), FieldPanel("youtube"),
], ],
gettext_lazy("Common page configuration"), gettext_lazy("Social page configuration"),
), ),
] ]
......
...@@ -127,7 +127,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page): ...@@ -127,7 +127,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page):
FieldPanel("show_calendar_on_hp"), FieldPanel("show_calendar_on_hp"),
] ]
promote_panels = [ promote_panels = MetadataPageMixin.promote_panels + [
MultiFieldPanel( MultiFieldPanel(
[ [
FieldPanel("facebook"), FieldPanel("facebook"),
...@@ -135,7 +135,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page): ...@@ -135,7 +135,7 @@ class RegionHomePage(MetadataPageMixin, CalendarMixin, Page):
FieldPanel("twitter"), FieldPanel("twitter"),
FieldPanel("youtube"), FieldPanel("youtube"),
], ],
gettext_lazy("Common page configuration"), gettext_lazy("Social page configuration"),
), ),
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment