Commit 7cf91f7b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Improve wording in partials related to the registry

parent 59b5843e
...@@ -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')
...@@ -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 repositories in Container Registry for this project.
- else - else
= render partial: 'image', collection: @images = render partial: 'image', collection: @images
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment