summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 15:10:15 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 15:10:15 +0200
commit83d1fe9b5aeb947c1387666205ecaca81f2bf3a2 (patch)
treef5cd91c67ffbc179f051b9fd75abe6a281b2827c /app/views/projects
parent00319e595ab52906d12ef027a10e08ac92ea1337 (diff)
downloadgitlab-ce-83d1fe9b5aeb947c1387666205ecaca81f2bf3a2.tar.gz
Add serveral minor improvements to container registry
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/registry/repositories/_image.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/registry/repositories/_image.html.haml b/app/views/projects/registry/repositories/_image.html.haml
index 64b11e375c6..c3f8580d25b 100644
--- a/app/views/projects/registry/repositories/_image.html.haml
+++ b/app/views/projects/registry/repositories/_image.html.haml
@@ -10,7 +10,11 @@
= escape_once(image.path)
= clipboard_button(clipboard_text: "docker pull #{image.path}")
.controls.hidden-xs.pull-right
- = link_to namespace_project_container_registry_path(@project.namespace, @project, image.id), class: 'btn btn-remove has-tooltip', title: "Remove image", data: { confirm: "Are you sure?" }, method: :delete do
+ = link_to namespace_project_container_registry_path(@project.namespace, @project, image),
+ class: 'btn btn-remove has-tooltip',
+ title: 'Remove repository',
+ data: { confirm: 'Are you sure?' },
+ method: :delete do
= icon("trash cred")