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
4dbcba60
Commit
4dbcba60
authored
Dec 21, 2021
by
huzaifaiftikhar1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "Pending deletion" instead of "Deleted projects"
parent
62fadc74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/helpers/ee/nav/top_nav_helper.rb
ee/app/helpers/ee/nav/top_nav_helper.rb
+1
-1
ee/spec/helpers/nav/top_nav_helper_spec.rb
ee/spec/helpers/nav/top_nav_helper_spec.rb
+1
-1
No files found.
ee/app/helpers/ee/nav/top_nav_helper.rb
View file @
4dbcba60
...
@@ -56,7 +56,7 @@ module EE
...
@@ -56,7 +56,7 @@ module EE
super
super
if
License
.
feature_available?
(
:adjourned_deletion_for_projects_and_groups
)
if
License
.
feature_available?
(
:adjourned_deletion_for_projects_and_groups
)
builder
.
add_primary_menu_item
(
id:
'deleted'
,
title:
_
(
'
Deleted projects
'
),
href:
removed_dashboard_projects_path
)
builder
.
add_primary_menu_item
(
id:
'deleted'
,
title:
_
(
'
Pending deletion
'
),
href:
removed_dashboard_projects_path
)
end
end
end
end
end
end
...
...
ee/spec/helpers/nav/top_nav_helper_spec.rb
View file @
4dbcba60
...
@@ -155,7 +155,7 @@ RSpec.describe Nav::TopNavHelper do
...
@@ -155,7 +155,7 @@ RSpec.describe Nav::TopNavHelper do
::
Gitlab
::
Nav
::
TopNavMenuItem
.
build
(
::
Gitlab
::
Nav
::
TopNavMenuItem
.
build
(
href:
'/dashboard/projects/removed'
,
href:
'/dashboard/projects/removed'
,
id:
'deleted'
,
id:
'deleted'
,
title:
'
Deleted projects
'
title:
'
Pending deletion
'
)
)
]
]
expect
(
projects_view
[
:linksPrimary
]).
to
eq
(
expected_links_primary
)
expect
(
projects_view
[
:linksPrimary
]).
to
eq
(
expected_links_primary
)
...
...
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