Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9e619d38
Commit
9e619d38
authored
May 04, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Container Images
parent
2afae7ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+2
-2
app/views/projects/images/index.html.haml
app/views/projects/images/index.html.haml
+5
-2
No files found.
app/views/layouts/nav/_project.html.haml
View file @
9e619d38
...
@@ -49,9 +49,9 @@
...
@@ -49,9 +49,9 @@
-
if
project_nav_tab?
:images
-
if
project_nav_tab?
:images
=
nav_link
(
controller:
%w(images)
)
do
=
nav_link
(
controller:
%w(images)
)
do
=
link_to
project_images_path
(
@project
),
title:
'Images'
,
class:
'shortcuts-images'
do
=
link_to
project_images_path
(
@project
),
title:
'Images'
,
class:
'shortcuts-images'
do
=
icon
(
'
image
fw'
)
=
icon
(
'
hdd-o
fw'
)
%span
%span
Images
Container
Images
-
if
project_nav_tab?
:graphs
-
if
project_nav_tab?
:graphs
=
nav_link
(
controller:
%w(graphs)
)
do
=
nav_link
(
controller:
%w(graphs)
)
do
...
...
app/views/projects/images/index.html.haml
View file @
9e619d38
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
%thead
%thead
%tr
%tr
%th
Name
%th
Name
%th
Revision
%th
Digest
%th
Size
%th
Size
%th
Created
%th
Created
%th
%th
...
@@ -41,7 +41,10 @@
...
@@ -41,7 +41,10 @@
=
clipboard_button
(
clipboard_text:
"docker pull
#{
Gitlab
.
config
.
registry
.
host_port
}
/
#{
tag
.
repository
.
name
}
:
#{
tag
.
name
}
"
)
=
clipboard_button
(
clipboard_text:
"docker pull
#{
Gitlab
.
config
.
registry
.
host_port
}
/
#{
tag
.
repository
.
name
}
:
#{
tag
.
name
}
"
)
%td
%td
-
if
layer
=
tag
.
layers
.
first
-
if
layer
=
tag
.
layers
.
first
\##{layer.short_revision}
%span
.has-tooltip
(
title=
"#{layer.revision}"
)
=
layer
.
short_revision
-
else
\-
%td
%td
=
number_to_human_size
(
tag
.
total_size
)
=
number_to_human_size
(
tag
.
total_size
)
·
·
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment