summaryrefslogtreecommitdiff
path: root/app/views/admin/runners/index.html.haml
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-09-18 14:42:53 +0000
committerPhil Hughes <me@iamphill.com>2018-09-18 14:42:53 +0000
commitcaf28f661cecdc163a0d2a4e48b12c65f5eca4ee (patch)
tree2ddde3c44f4b61d2c689ca0be0ea4f0104aed877 /app/views/admin/runners/index.html.haml
parenta2a00a5e6d1ba3d2ebfafcff57e211cb1b65c00a (diff)
downloadgitlab-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.haml5
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