summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-01-05 11:01:56 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-01-05 11:01:56 -0600
commit57fea829e23dc8b3deb1b160f560ec02984a31dd (patch)
treea62da3e8c05aa13647fb2f9b4900a8867b96315c
parentf08e5ee5537ba4bed13930e47455eae1f57c6ab6 (diff)
downloadgitlab-ce-57fea829e23dc8b3deb1b160f560ec02984a31dd.tar.gz
Add haml lint comment
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index 33f96a86723..8d7b1d616f4 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -25,6 +25,8 @@
%ul.filter-dropdown{ 'data-dynamic' => true, 'data-dropdown' => true }
%li.filter-dropdown-item
%button.btn.btn-link
+ -# Encapsulate static class name `{{icon}}` inside #{} to bypass
+ -# haml lint's ClassAttributeWithStaticValue
%i.fa{ class: "#{'{{icon}}'}" }
%span.js-filter-hint
{{hint}}