Skip to content
Snippets Groups Projects
Commit 1435640f authored by OndraPetrzilka's avatar OndraPetrzilka
Browse files

labels in Czech

parent c6e6b493
No related branches found
No related tags found
3 merge requests!607Pirati.cz,!582Feature/pirati cz ondra,!575Feature/pirati cz
......@@ -34,8 +34,8 @@ class HomePageCarouselBlock(StructBlock):
class PeopleGroupBlock(StructBlock):
title = CharBlock()
person_list = ListBlock(PageChooserBlock(page_type="main.MainPersonPage"))
title = CharBlock(label="Titulek")
person_list = ListBlock(PageChooserBlock(page_type="main.MainPersonPage", label="Detail osoby"), label="Seznam osob")
class ProgramBlock(StructBlock):
......
......@@ -307,7 +307,7 @@ class MainPeoplePage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin,
perex = models.TextField()
people = StreamField(
[("people_group", blocks.PeopleGroupBlock())],
[("people_group", blocks.PeopleGroupBlock(label="Seznam osob"))],
verbose_name="Lidé",
blank=True,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment