Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/registry/repositories/_tag.html.haml')
-rw-r--r--app/views/projects/registry/repositories/_tag.html.haml33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/views/projects/registry/repositories/_tag.html.haml b/app/views/projects/registry/repositories/_tag.html.haml
deleted file mode 100644
index 9594c9184a2..00000000000
--- a/app/views/projects/registry/repositories/_tag.html.haml
+++ /dev/null
@@ -1,33 +0,0 @@
-%tr.tag
- %td
- = escape_once(tag.name)
- = clipboard_button(text: "#{tag.location}")
- %td
- - if tag.revision
- %span.has-tooltip{ title: "#{tag.revision}" }
- = tag.short_revision
- - else
- \-
- %td
- - if tag.total_size
- = number_to_human_size(tag.total_size)
- ·
- = pluralize(tag.layers.size, "layer")
- - else
- .light
- \-
- %td
- - if tag.created_at
- = time_ago_with_tooltip tag.created_at
- - else
- .light
- \-
- - if can?(current_user, :update_container_image, @project)
- %td.content
- .controls.d-none.d-sm-block.float-right
- = link_to project_registry_repository_tag_path(@project, tag.repository, tag.name),
- method: :delete,
- class: 'btn btn-remove has-tooltip',
- title: 'Remove tag',
- data: { confirm: 'Are you sure you want to delete this tag?' } do
- = icon('trash cred')