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
3d7410e8
Commit
3d7410e8
authored
Apr 23, 2021
by
Taurie Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify image repository delete actions
parent
24ded9bb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
app/assets/javascripts/registry/explorer/components/details_page/details_header.vue
...istry/explorer/components/details_page/details_header.vue
+1
-1
app/assets/javascripts/registry/explorer/constants/details.js
...assets/javascripts/registry/explorer/constants/details.js
+1
-1
changelogs/unreleased/registry-delete-button-copy.yml
changelogs/unreleased/registry-delete-button-copy.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+4
-1
spec/frontend/registry/explorer/components/details_page/details_header_spec.js
...y/explorer/components/details_page/details_header_spec.js
+1
-1
No files found.
app/assets/javascripts/registry/explorer/components/details_page/details_header.vue
View file @
3d7410e8
...
...
@@ -130,7 +130,7 @@ export default {
:disabled=
"deleteButtonDisabled"
@
click=
"$emit('delete')"
>
{{
__
(
'
Delete
'
)
}}
{{
__
(
'
Delete
image repository
'
)
}}
</gl-button>
</
template
>
</title-area>
...
...
app/assets/javascripts/registry/explorer/constants/details.js
View file @
3d7410e8
...
...
@@ -31,7 +31,7 @@ export const CONFIGURATION_DETAILS_ROW_TEST = s__(
);
export
const
REMOVE_TAG_BUTTON_TITLE
=
s__
(
'
ContainerRegistry|Remove tag
'
);
export
const
REMOVE_TAGS_BUTTON_TITLE
=
s__
(
'
ContainerRegistry|Delete selected
'
);
export
const
REMOVE_TAGS_BUTTON_TITLE
=
s__
(
'
ContainerRegistry|Delete selected
tags
'
);
export
const
REMOVE_TAG_CONFIRMATION_TEXT
=
s__
(
`ContainerRegistry|You are about to remove %{item}. Are you sure?`
,
...
...
changelogs/unreleased/registry-delete-button-copy.yml
0 → 100644
View file @
3d7410e8
---
title
:
Clarify image repository delete actions
merge_request
:
60154
author
:
type
:
changed
locale/gitlab.pot
View file @
3d7410e8
...
...
@@ -8561,7 +8561,7 @@ msgstr ""
msgid "ContainerRegistry|Delete image repository?"
msgstr ""
msgid "ContainerRegistry|Delete selected"
msgid "ContainerRegistry|Delete selected
tags
"
msgstr ""
msgid "ContainerRegistry|Deleting the image repository will delete all images and tags inside. This action cannot be undone."
...
...
@@ -10519,6 +10519,9 @@ msgstr ""
msgid "Delete domain"
msgstr ""
msgid "Delete image repository"
msgstr ""
msgid "Delete label"
msgstr ""
...
...
spec/frontend/registry/explorer/components/details_page/details_header_spec.js
View file @
3d7410e8
...
...
@@ -120,7 +120,7 @@ describe('Details Header', () => {
it
(
'
has the correct text
'
,
()
=>
{
mountComponent
();
expect
(
findDeleteButton
().
text
()).
toBe
(
'
Delete
'
);
expect
(
findDeleteButton
().
text
()).
toBe
(
'
Delete
image repository
'
);
});
it
(
'
has the correct props
'
,
()
=>
{
...
...
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