summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-04 11:52:56 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-04 11:52:56 +0200
commit7cf91f7b78225957d8b79e96f7d0080cdd15c0cd (patch)
treeb0c1cda68651b05019ed0dab186736a5f7439e3f /app/views/projects
parent59b5843eb0d329f314a58c074c42ecaa4bd24f25 (diff)
downloadgitlab-ce-7cf91f7b78225957d8b79e96f7d0080cdd15c0cd.tar.gz
Improve wording in partials related to the registry
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/registry/repositories/_tag.html.haml3
-rw-r--r--app/views/projects/registry/repositories/index.html.haml2
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