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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
617471cd
Commit
617471cd
authored
2 years ago
by
OndraPetrzilka
Browse files
Options
Downloads
Patches
Plain Diff
labels in Czech
parent
893e0a70
No related branches found
No related tags found
3 merge requests
!607
Pirati.cz
,
!584
Feature/pirati cz ondra
,
!575
Feature/pirati cz
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/blocks.py
+9
-9
9 additions, 9 deletions
main/blocks.py
with
9 additions
and
9 deletions
main/blocks.py
+
9
−
9
View file @
617471cd
...
@@ -25,12 +25,12 @@ class BoxesBlock(StructBlock):
...
@@ -25,12 +25,12 @@ class BoxesBlock(StructBlock):
class
HomePageCarouseSlideBlock
(
CTAMixin
,
StructBlock
):
class
HomePageCarouseSlideBlock
(
CTAMixin
,
StructBlock
):
line_1
=
CharBlock
()
line_1
=
CharBlock
(
label
=
"
První řádek
"
)
line_2
=
CharBlock
()
line_2
=
CharBlock
(
label
=
"
Druhý řádek
"
)
class
HomePageCarouselBlock
(
StructBlock
):
class
HomePageCarouselBlock
(
StructBlock
):
slides
=
ListBlock
(
HomePageCarouseSlideBlock
)
slides
=
ListBlock
(
HomePageCarouseSlideBlock
,
label
=
"
Obrázky s nadpisy - carouselu
"
)
class
PeopleGroupBlock
(
StructBlock
):
class
PeopleGroupBlock
(
StructBlock
):
...
@@ -63,7 +63,7 @@ class PersonContactBlock(StructBlock):
...
@@ -63,7 +63,7 @@ class PersonContactBlock(StructBlock):
# email, phone?
# email, phone?
person
=
PageChooserBlock
(
person
=
PageChooserBlock
(
label
=
"
Osoba
"
,
label
=
"
Osoba
"
,
page_type
=
[
"
district.District
PersonPage
"
],
page_type
=
[
"
main.Main
PersonPage
"
],
)
)
class
Meta
:
class
Meta
:
...
@@ -78,17 +78,17 @@ class PersonContactBoxBlock(CTAMixin, StructBlock):
...
@@ -78,17 +78,17 @@ class PersonContactBoxBlock(CTAMixin, StructBlock):
# Footer
# Footer
class
LinkBlock
(
StructBlock
):
class
LinkBlock
(
StructBlock
):
text
=
CharBlock
()
text
=
CharBlock
(
label
=
"
Titulkek odkazu (text, který se zobrazí místo dlouhého odkazu)
"
)
link
=
URLBlock
()
link
=
URLBlock
(
label
=
"
Odkaz
"
)
class
OtherLinksBlock
(
StructBlock
):
class
OtherLinksBlock
(
StructBlock
):
title
=
CharBlock
()
title
=
CharBlock
(
label
=
"
Titulek
"
)
list
=
ListBlock
(
LinkBlock
)
list
=
ListBlock
(
LinkBlock
,
label
=
"
Seznam odkazů s titulkem
"
)
class
SocialLinkBlock
(
LinkBlock
):
class
SocialLinkBlock
(
LinkBlock
):
icon
=
CharBlock
()
# TODO CSS class name or somthing better?
icon
=
CharBlock
(
label
=
"
Ikona
"
)
# TODO CSS class name or somthing better?
# TwitterCarouselBlock
# TwitterCarouselBlock
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