diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-21 13:08:10 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-21 13:08:10 +0200 |
commit | 70606bf0c13212eb4dabf4314b783830dd01dbfc (patch) | |
tree | 92f305e93771936174855da681fc786903858634 /app | |
parent | 44b8b77e02423ce97f9abe80e0335f4f4c453c83 (diff) | |
download | gitlab-ce-70606bf0c13212eb4dabf4314b783830dd01dbfc.tar.gz |
Show proper image ID on registry page
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/container_registry/_tag.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/container_registry/_tag.html.haml b/app/views/projects/container_registry/_tag.html.haml index f35faa6afb5..10822b6184c 100644 --- a/app/views/projects/container_registry/_tag.html.haml +++ b/app/views/projects/container_registry/_tag.html.haml @@ -3,9 +3,9 @@ = escape_once(tag.name) = clipboard_button(clipboard_text: "docker pull #{tag.path}") %td - - if layer = tag.layers.first - %span.has-tooltip{ title: "#{layer.revision}" } - = layer.short_revision + - if tag.revision + %span.has-tooltip{ title: "#{tag.revision}" } + = tag.short_revision - else \- %td |