diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-09-18 14:42:53 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-09-18 14:42:53 +0000 |
commit | caf28f661cecdc163a0d2a4e48b12c65f5eca4ee (patch) | |
tree | 2ddde3c44f4b61d2c689ca0be0ea4f0104aed877 /app/views/admin/runners/index.html.haml | |
parent | a2a00a5e6d1ba3d2ebfafcff57e211cb1b65c00a (diff) | |
download | gitlab-ce-caf28f661cecdc163a0d2a4e48b12c65f5eca4ee.tar.gz |
Resolve "Move filter dropdown from Font Awesome to our own icons"
Diffstat (limited to 'app/views/admin/runners/index.html.haml')
-rw-r--r-- | app/views/admin/runners/index.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml index 4dc076c95c5..07333d63f2c 100644 --- a/app/views/admin/runners/index.html.haml +++ b/app/views/admin/runners/index.html.haml @@ -69,7 +69,7 @@ %ul{ data: { dropdown: true } } %li.filter-dropdown-item{ data: { action: 'submit' } } = button_tag class: %w[btn btn-link] do - = icon('search') + = sprite_icon('search') %span = _('Press Enter or click to search') %ul.filter-dropdown{ data: { dynamic: true, dropdown: true } } @@ -77,7 +77,8 @@ = button_tag class: %w[btn btn-link] do -# Encapsulate static class name `{{icon}}` inside #{} to bypass -# haml lint's ClassAttributeWithStaticValue - %i.fa{ class: "#{'{{icon}}'}" } + %svg + %use{ 'xlink:href': "#{'{{icon}}'}" } %span.js-filter-hint {{hint}} %span.js-filter-tag.dropdown-light-content |