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
207328a0
Commit
207328a0
authored
Jul 28, 2021
by
Nicolò Maria Mezzopera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust documentation paths
- source - test Changelog: fixed
parent
c6e8bde2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
app/assets/javascripts/registry/explorer/constants/details.js
...assets/javascripts/registry/explorer/constants/details.js
+6
-3
app/assets/javascripts/registry/explorer/pages/details.vue
app/assets/javascripts/registry/explorer/pages/details.vue
+1
-1
spec/frontend/registry/explorer/pages/details_spec.js
spec/frontend/registry/explorer/pages/details_spec.js
+2
-2
No files found.
app/assets/javascripts/registry/explorer/constants/details.js
View file @
207328a0
...
...
@@ -162,6 +162,9 @@ export const IMAGE_STATUS_ALERT_TYPE = {
[
DELETE_FAILED
]:
'
warning
'
,
};
export
const
PACKAGE_DELETE_HELP_PAGE_PATH
=
helpPagePath
(
'
user/packages/container_registry
'
,
{
export
const
PACKAGE_DELETE_HELP_PAGE_PATH
=
helpPagePath
(
'
user/packages/container_registry/index
'
,
{
anchor
:
'
delete-images
'
,
});
},
);
app/assets/javascripts/registry/explorer/pages/details.vue
View file @
207328a0
...
...
@@ -188,7 +188,7 @@ export default {
<partial-cleanup-alert
v-if=
"showPartialCleanupWarning"
:run-cleanup-policies-help-page-path=
"config.runCleanupPoliciesHelpPagePath"
:cleanup-policies-help-page-path=
"config.
cleanupPolicies
HelpPagePath"
:cleanup-policies-help-page-path=
"config.
expirationPolicy
HelpPagePath"
@
dismiss=
"dismissPartialCleanupWarning"
/>
...
...
spec/frontend/registry/explorer/pages/details_spec.js
View file @
207328a0
...
...
@@ -335,7 +335,7 @@ describe('Details Page', () => {
describe
(
'
Partial Cleanup Alert
'
,
()
=>
{
const
config
=
{
runCleanupPoliciesHelpPagePath
:
'
foo
'
,
cleanupPolicies
HelpPagePath
:
'
bar
'
,
expirationPolicy
HelpPagePath
:
'
bar
'
,
userCalloutsPath
:
'
call_out_path
'
,
userCalloutId
:
'
call_out_id
'
,
showUnfinishedTagCleanupCallout
:
true
,
...
...
@@ -367,7 +367,7 @@ describe('Details Page', () => {
expect
(
findPartialCleanupAlert
().
props
()).
toEqual
({
runCleanupPoliciesHelpPagePath
:
config
.
runCleanupPoliciesHelpPagePath
,
cleanupPoliciesHelpPagePath
:
config
.
cleanupPolicies
HelpPagePath
,
cleanupPoliciesHelpPagePath
:
config
.
expirationPolicy
HelpPagePath
,
});
});
...
...
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