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
d662d882
Commit
d662d882
authored
9 months ago
by
Tomi Valentová
Browse files
Options
Downloads
Patches
Plain Diff
fix display
parent
8d1a62ea
No related branches found
No related tags found
2 merge requests
!1077
fix display
,
!1076
fix display
Pipeline
#19160
passed
9 months ago
Stage: build
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
district/blocks.py
+1
-0
1 addition, 0 deletions
district/blocks.py
shared/templates/styleguide2/includes/molecules/program/program_block.html
+6
-6
6 additions, 6 deletions
...styleguide2/includes/molecules/program/program_block.html
with
7 additions
and
6 deletions
district/blocks.py
+
1
−
0
View file @
d662d882
...
...
@@ -402,6 +402,7 @@ class ProgramGroupWithCandidatesBlock(StructBlock):
other_views
=
ListBlock
(
ProgramGroupWithCandidatesOtherViewBlock
(),
label
=
"
Ostatní záložky
"
,
min_num
=
0
,
help_text
=
(
"
Použitelné např. pro zobrazení volebních novin na separátní
"
"
záložce stránky s programem.
"
...
...
This diff is collapsed.
Click to expand it.
shared/templates/styleguide2/includes/molecules/program/program_block.html
+
6
−
6
View file @
d662d882
...
...
@@ -81,21 +81,21 @@
<div
class=
"bg-white py-12 container--wide text-center"
>
<a
@
click=
"toggleSecondaryView('candidates')"
class=
"switch__item--program"
class=
"switch__item--program
inline-block
"
:class=
"{'switch__item--active': isCurrentSecondaryView('candidates')}"
>
Kandidáti
</a>
<a
@
click=
"toggleSecondaryView('program')"
class=
"switch__item--program"
class=
"switch__item--program
inline-block
"
:class=
"{'switch__item--active': isCurrentSecondaryView('program')}"
>
Program
</a>
{% for other_view in self.other_views %}
<a
@
click=
"toggleSecondaryView('
prog
ra
m
-view-{{ forloop.counter0 }}')"
class=
"switch__item--program"
:class=
"{'switch__item--active': isCurrentSecondaryView('
prog
ra
m
-view-{{ forloop.counter0 }}')}"
@
click=
"toggleSecondaryView('
ext
ra-view-{{ forloop.counter0 }}')"
class=
"switch__item--program
inline-block
"
:class=
"{'switch__item--active': isCurrentSecondaryView('
ext
ra-view-{{ forloop.counter0 }}')}"
>
{{ other_view.title }}
</a>
{% endfor %}
</div>
...
...
@@ -118,7 +118,7 @@
</template>
{% for other_view in self.other_views %}
<template
v-if=
"isCurrentSecondaryView('
prog
ra
m
-view-{{ forloop.counter0 }}')"
>
<template
v-if=
"isCurrentSecondaryView('
ext
ra-view-{{ forloop.counter0 }}')"
>
<div
class=
"flex flex-col gap-4 mb-4 xl:mb-20 container--wide"
>
{% for child_block in other_view.child_blocks %}
{% include_block child_block %}
...
...
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