Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
1435640f
Commit
1435640f
authored
2 years ago
by
OndraPetrzilka
Browse files
Options
Downloads
Patches
Plain Diff
labels in Czech
parent
c6e6b493
No related branches found
No related tags found
3 merge requests
!607
Pirati.cz
,
!582
Feature/pirati cz ondra
,
!575
Feature/pirati cz
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/blocks.py
+2
-2
2 additions, 2 deletions
main/blocks.py
main/models.py
+1
-1
1 addition, 1 deletion
main/models.py
with
3 additions
and
3 deletions
main/blocks.py
+
2
−
2
View file @
1435640f
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
main/models.py
+
1
−
1
View file @
1435640f
...
...
@@ -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
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment