diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-05 15:37:50 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-05 15:37:50 +0300 |
commit | c753975b087cf71d82712624fa5fcd9fa6d79844 (patch) | |
tree | d9703a358d49180806ec42131b69a8da18c194ed /app/views/projects/registry | |
parent | b611da70afeffbffd4a8fc8d5ddf61aa2362617d (diff) |
Add some minor improvements into registry partials
Diffstat (limited to 'app/views/projects/registry')
-rw-r--r-- | app/views/projects/registry/repositories/_image.html.haml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/projects/registry/repositories/_image.html.haml b/app/views/projects/registry/repositories/_image.html.haml index b0b09354e02..d183ce34a3a 100644 --- a/app/views/projects/registry/repositories/_image.html.haml +++ b/app/views/projects/registry/repositories/_image.html.haml @@ -1,7 +1,7 @@ .container-image.js-toggle-container .container-image-head = link_to "#", class: "js-toggle-button" do - = icon("chevron-down") + = icon('chevron-down', 'aria-hidden': 'true') = escape_once(image.path) = clipboard_button(clipboard_text: "docker pull #{image.path}") @@ -12,7 +12,7 @@ title: 'Remove repository', data: { confirm: 'Are you sure?' }, method: :delete do - = icon('trash cred') + = icon('trash cred', 'aria-hidden': 'true') .container-image-tags.js-toggle-content.hide - if image.has_tags? @@ -28,6 +28,5 @@ %th = render partial: 'tag', collection: image.tags - else - %li - .nothing-here-block No tags in Container Registry for this container image. + .nothing-here-block No tags in Container Registry for this container image. |