Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-01-05 20:01:56 +0300
committerClement Ho <ClemMakesApps@gmail.com>2017-01-10 01:01:36 +0300
commit8f77b3177f1c342cc0a05c79e45e88bcda04040a (patch)
tree6d099c2f1ff05a369f2f201e2c06a944f8475257 /app
parent896497aba37f9e83585443a108e8611e5bc58488 (diff)
Add haml lint comment
Diffstat (limited to 'app')
-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}}