summaryrefslogtreecommitdiff
path: root/app/views/projects/registry/repositories/_image.html.haml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-07 09:59:51 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-07 09:59:51 +0100
commita2a8e36178853b5f8fa2eda306b33f8f97970745 (patch)
tree0f8cf46e5c2968bcaa5a42c61f46338f1b921b0b /app/views/projects/registry/repositories/_image.html.haml
parente85e1dbb57af835945b37dc03d1f850cbdaf4d82 (diff)
parent95016507d49c3099afde0ef3909377bf70061dc3 (diff)
downloadgitlab-ce-a2a8e36178853b5f8fa2eda306b33f8f97970745.tar.gz
Merge branch 'master' into backstage/gb/refactor-ci-cd-variables-collections
* master: (6164 commits)
Diffstat (limited to 'app/views/projects/registry/repositories/_image.html.haml')
-rw-r--r--app/views/projects/registry/repositories/_image.html.haml32
1 files changed, 0 insertions, 32 deletions
diff --git a/app/views/projects/registry/repositories/_image.html.haml b/app/views/projects/registry/repositories/_image.html.haml
deleted file mode 100644
index a0535edafc3..00000000000
--- a/app/views/projects/registry/repositories/_image.html.haml
+++ /dev/null
@@ -1,32 +0,0 @@
-.container-image.js-toggle-container
- .container-image-head
- = link_to "#", class: "js-toggle-button" do
- = icon('chevron-down', 'aria-hidden': 'true')
- = escape_once(image.path)
-
- = clipboard_button(clipboard_text: "docker pull #{image.location}")
-
- - if can?(current_user, :update_container_image, @project)
- .controls.hidden-xs.pull-right
- = link_to project_container_registry_path(@project, image),
- class: 'btn btn-remove has-tooltip',
- title: 'Remove repository',
- data: { confirm: 'Are you sure?' },
- method: :delete do
- = icon('trash cred', 'aria-hidden': 'true')
-
- .container-image-tags.js-toggle-content.hide
- - if image.has_tags?
- .table-holder
- %table.table.tags
- %thead
- %tr
- %th Tag
- %th Tag ID
- %th Size
- %th Created
- - if can?(current_user, :update_container_image, @project)
- %th
- = render partial: 'tag', collection: image.tags
- - else
- .nothing-here-block No tags in Container Registry for this container image.