Use Container Images

This commit is contained in:
Kamil Trzcinski 2016-05-04 16:28:01 +02:00
parent 2afae7eac9
commit 9e619d3813
2 changed files with 7 additions and 4 deletions

View File

@ -49,9 +49,9 @@
- if project_nav_tab? :images
= nav_link(controller: %w(images)) do
= link_to project_images_path(@project), title: 'Images', class: 'shortcuts-images' do
= icon('image fw')
= icon('hdd-o fw')
%span
Images
Container Images
- if project_nav_tab? :graphs
= nav_link(controller: %w(graphs)) do

View File

@ -29,7 +29,7 @@
%thead
%tr
%th Name
%th Revision
%th Digest
%th Size
%th Created
%th
@ -41,7 +41,10 @@
= clipboard_button(clipboard_text: "docker pull #{Gitlab.config.registry.host_port}/#{tag.repository.name}:#{tag.name}")
%td
- if layer = tag.layers.first
\##{layer.short_revision}
%span.has-tooltip(title="#{layer.revision}")
= layer.short_revision
- else
\-
%td
= number_to_human_size(tag.total_size)
·