diff options
-rw-r--r-- | app/views/projects/registry/repositories/_tag.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/registry/repositories/index.html.haml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/registry/repositories/_tag.html.haml b/app/views/projects/registry/repositories/_tag.html.haml index 73566689d57..ee1ec0e8f9a 100644 --- a/app/views/projects/registry/repositories/_tag.html.haml +++ b/app/views/projects/registry/repositories/_tag.html.haml @@ -25,10 +25,9 @@ - if can?(current_user, :update_container_image, @project) %td.content .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), method: :delete, class: 'btn btn-remove has-tooltip', title: 'Remove tag', - data: { confirm: notice } do + data: { confirm: 'Are you sure you want to delete this tag?' } do = icon('trash cred') diff --git a/app/views/projects/registry/repositories/index.html.haml b/app/views/projects/registry/repositories/index.html.haml index 1b5d000e801..be128e92fa7 100644 --- a/app/views/projects/registry/repositories/index.html.haml +++ b/app/views/projects/registry/repositories/index.html.haml @@ -20,7 +20,7 @@ docker push #{escape_once(@project.container_registry_url)}/image - if @images.blank? - .nothing-here-block No container images in Container Registry for this project. + .nothing-here-block No container image repositories in Container Registry for this project. - else = render partial: 'image', collection: @images |