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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
7cf91f7b
Commit
7cf91f7b
authored
Apr 04, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve wording in partials related to the registry
parent
59b5843e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/projects/registry/repositories/_tag.html.haml
app/views/projects/registry/repositories/_tag.html.haml
+1
-2
app/views/projects/registry/repositories/index.html.haml
app/views/projects/registry/repositories/index.html.haml
+1
-1
No files found.
app/views/projects/registry/repositories/_tag.html.haml
View file @
7cf91f7b
...
@@ -25,10 +25,9 @@
...
@@ -25,10 +25,9 @@
-
if
can?
(
current_user
,
:update_container_image
,
@project
)
-
if
can?
(
current_user
,
:update_container_image
,
@project
)
%td
.content
%td
.content
.controls.hidden-xs.pull-right
.controls.hidden-xs.pull-right
-
notice
=
'Due to a Docker limitation, all tags with the same ID will also be deleted. Are you sure?'
=
link_to
namespace_project_registry_repository_tag_path
(
@project
.
namespace
,
@project
,
tag
.
repository
,
tag
.
name
),
=
link_to
namespace_project_registry_repository_tag_path
(
@project
.
namespace
,
@project
,
tag
.
repository
,
tag
.
name
),
method: :delete
,
method: :delete
,
class:
'btn btn-remove has-tooltip'
,
class:
'btn btn-remove has-tooltip'
,
title:
'Remove tag'
,
title:
'Remove tag'
,
data:
{
confirm:
notice
}
do
data:
{
confirm:
'Are you sure you want to delete this tag?'
}
do
=
icon
(
'trash cred'
)
=
icon
(
'trash cred'
)
app/views/projects/registry/repositories/index.html.haml
View file @
7cf91f7b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
docker push
#{
escape_once
(
@project
.
container_registry_url
)
}
/image
docker push
#{
escape_once
(
@project
.
container_registry_url
)
}
/image
-
if
@images
.
blank?
-
if
@images
.
blank?
.nothing-here-block
No container images in Container Registry for this project.
.nothing-here-block
No container image
repositorie
s in Container Registry for this project.
-
else
-
else
=
render
partial:
'image'
,
collection:
@images
=
render
partial:
'image'
,
collection:
@images
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