Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1bee0db9
Commit
1bee0db9
authored
Apr 28, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
71d1664d
245ab858
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
3 deletions
+25
-3
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+4
-2
app/views/layouts/nav/_explore.html.haml
app/views/layouts/nav/_explore.html.haml
+4
-0
app/views/layouts/nav/groups_dropdown/_show.html.haml
app/views/layouts/nav/groups_dropdown/_show.html.haml
+4
-0
app/views/layouts/nav/projects_dropdown/_show.html.haml
app/views/layouts/nav/projects_dropdown/_show.html.haml
+4
-0
ee/app/views/dashboard/_nav_link_list.html.haml
ee/app/views/dashboard/_nav_link_list.html.haml
+4
-0
ee/app/views/layouts/nav/_geo_primary_node_url.html.haml
ee/app/views/layouts/nav/_geo_primary_node_url.html.haml
+4
-0
ee/config/feature_flags/development/geo_secondary_proxy.yml
ee/config/feature_flags/development/geo_secondary_proxy.yml
+1
-1
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
1bee0db9
-# WAIT! Before adding more items to the nav bar, please see
-# https://gitlab.com/gitlab-org/gitlab-foss/issues/49713 for more information.
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
%ul
.list-unstyled.navbar-sub-nav
-
if
dashboard_nav_link?
(
:projects
)
=
nav_link
(
path:
[
'root#index'
,
'projects#trending'
,
'projects#starred'
,
'dashboard/projects#index'
],
html_options:
{
id:
'nav-projects-dropdown'
,
class:
"home dropdown header-projects qa-projects-dropdown"
,
data:
{
track_label:
"projects_dropdown"
,
track_event:
"click_dropdown"
,
track_experiment:
"new_repo"
}
})
do
...
...
app/views/layouts/nav/_explore.html.haml
View file @
1bee0db9
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
%ul
.list-unstyled.navbar-sub-nav
-
if
explore_nav_link?
(
:projects
)
=
nav_link
(
path:
[
'dashboard#show'
,
'root#show'
,
'projects#trending'
,
'projects#starred'
,
'projects#index'
],
html_options:
{
class:
'home'
})
do
...
...
app/views/layouts/nav/groups_dropdown/_show.html.haml
View file @
1bee0db9
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
-
group_meta
=
{
id:
@group
.
id
,
name:
@group
.
name
,
namespace:
@group
.
full_name
,
web_url:
group_path
(
@group
),
avatar_url:
@group
.
avatar_url
}
if
@group
&
.
persisted?
.frequent-items-dropdown-container
.frequent-items-dropdown-sidebar.qa-groups-dropdown-sidebar
...
...
app/views/layouts/nav/projects_dropdown/_show.html.haml
View file @
1bee0db9
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
-
project_meta
=
{
id:
@project
.
id
,
name:
@project
.
name
,
namespace:
@project
.
full_name
,
web_url:
project_path
(
@project
),
avatar_url:
@project
.
avatar_url
}
if
@project
&
.
persisted?
.frequent-items-dropdown-container
.frequent-items-dropdown-sidebar.qa-projects-dropdown-sidebar
...
...
ee/app/views/dashboard/_nav_link_list.html.haml
View file @
1bee0db9
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
-
if
dashboard_nav_link?
(
:environments
)
=
link_to
operations_environments_path
,
class:
'dropdown-item'
,
data:
{
qa_selector:
'environment_link'
}
do
=
_
(
'Environments'
)
...
...
ee/app/views/layouts/nav/_geo_primary_node_url.html.haml
View file @
1bee0db9
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
-
if
Gitlab
::
Geo
.
secondary?
&&
Gitlab
::
Geo
.
primary_node_configured?
%li
=
link_to
Gitlab
::
Geo
.
primary_node
.
url
,
title:
'Go to primary node'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
...
...
ee/config/feature_flags/development/geo_secondary_proxy.yml
View file @
1bee0db9
---
name
:
geo_secondary_proxy
introduced_by_url
:
'
56297'
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56297
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/325732
milestone
:
'
13.11'
type
:
development
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment