diff options
Diffstat (limited to 'app/views/projects/container_registry/_tag.html.haml')
-rw-r--r-- | app/views/projects/container_registry/_tag.html.haml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/app/views/projects/container_registry/_tag.html.haml b/app/views/projects/container_registry/_tag.html.haml index f35faa6afb5..4e9f936539b 100644 --- a/app/views/projects/container_registry/_tag.html.haml +++ b/app/views/projects/container_registry/_tag.html.haml @@ -9,19 +9,11 @@ - else \- %td - - if tag.total_size - = number_to_human_size(tag.total_size) - · - = pluralize(tag.layers.size, "layer") - - else - .light - \- + = number_to_human_size(tag.total_size) + · + = pluralize(tag.layers.size, "layer") %td - - if tag.created_at - = time_ago_in_words(tag.created_at) - - else - .light - \- + = time_ago_in_words(tag.created_at) - if can?(current_user, :update_container_image, @project) %td.content .controls.hidden-xs.pull-right |