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
13d47cf3
Commit
13d47cf3
authored
10 months ago
by
Alexa Valentová
Browse files
Options
Downloads
Patches
Plain Diff
fix conflict
parent
04a7650a
No related branches found
No related tags found
2 merge requests
!1007
Release
,
!1006
Release
Pipeline
#18654
passed
10 months ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/models/main.py
+0
-17
0 additions, 17 deletions
shared/models/main.py
with
0 additions
and
17 deletions
shared/models/main.py
+
0
−
17
View file @
13d47cf3
...
@@ -255,13 +255,6 @@ class PageInMenuMixin(Page):
...
@@ -255,13 +255,6 @@ class PageInMenuMixin(Page):
for
menu
in
menu_iterator
:
for
menu
in
menu_iterator
:
if
menu
.
block_type
==
"
menu_item
"
:
if
menu
.
block_type
==
"
menu_item
"
:
if
(
if
(
<<<<<<<
HEAD
instance
.
full_url
is
not
None
and
len
(
instance
.
full_url
)
!=
0
and
menu
.
value
[
"
link
"
]
is
not
None
and
len
(
menu
.
value
[
"
link
"
])
!=
0
)
and
menu
.
value
[
"
link
"
].
strip
()
==
instance
.
full_url
.
strip
():
=======
menu
.
value
[
"
link
"
].
strip
()
menu
.
value
[
"
link
"
].
strip
()
if
menu
.
value
[
"
link
"
]
is
not
None
if
menu
.
value
[
"
link
"
]
is
not
None
else
""
else
""
...
@@ -270,7 +263,6 @@ class PageInMenuMixin(Page):
...
@@ -270,7 +263,6 @@ class PageInMenuMixin(Page):
if
instance
.
full_url
if
instance
.
full_url
else
""
else
""
):
):
>>>>>>>
8671
dd739c03d668ed1b01173e5ce36ead1a6a3b
return
menu
.
value
[
"
title
"
]
return
menu
.
value
[
"
title
"
]
if
menu
.
value
[
"
page
"
]
is
None
:
if
menu
.
value
[
"
page
"
]
is
None
:
...
@@ -281,14 +273,6 @@ class PageInMenuMixin(Page):
...
@@ -281,14 +273,6 @@ class PageInMenuMixin(Page):
elif
menu
.
block_type
==
"
menu_parent
"
:
elif
menu
.
block_type
==
"
menu_parent
"
:
for
item
in
menu
.
value
[
"
menu_items
"
]:
for
item
in
menu
.
value
[
"
menu_items
"
]:
if
(
if
(
<<<<<<<
HEAD
instance
.
full_url
is
not
None
and
len
(
instance
.
full_url
)
!=
0
and
item
.
value
[
"
link
"
]
is
not
None
and
len
(
menu
.
value
[
"
link
"
])
!=
0
)
and
item
.
value
[
"
link
"
].
strip
()
==
instance
.
full_url
.
strip
():
return
item
.
value
[
"
title
"
]
=======
item
[
"
link
"
].
strip
()
item
[
"
link
"
].
strip
()
if
item
[
"
link
"
]
is
not
None
if
item
[
"
link
"
]
is
not
None
else
""
else
""
...
@@ -298,7 +282,6 @@ class PageInMenuMixin(Page):
...
@@ -298,7 +282,6 @@ class PageInMenuMixin(Page):
else
""
else
""
):
):
return
menu
.
value
[
"
title
"
]
return
menu
.
value
[
"
title
"
]
>>>>>>>
8671
dd739c03d668ed1b01173e5ce36ead1a6a3b
if
item
[
"
page
"
]
is
None
:
if
item
[
"
page
"
]
is
None
:
continue
continue
...
...
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