summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-12-14 13:52:11 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:01:26 -0600
commitcf391760f19943af59ac43495a91db4126dbeb8d (patch)
treee21eba28a53e644cd8d337e58c248ba175ffa455 /app
parent9408693d30cc2af7059cff2c9ddc503a92db86a6 (diff)
downloadgitlab-ce-cf391760f19943af59ac43495a91db4126dbeb8d.tar.gz
Fix HAML attributes
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index 335552c0a26..dbef87e67cf 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -18,7 +18,7 @@
= icon('times')
#js-dropdown-hint.dropdown-menu.hint-dropdown
%ul{ 'data-dropdown' => true }
- %li.filter-dropdown-item{ 'data-value': '' }
+ %li.filter-dropdown-item{ 'data-value' => '' }
%button.btn.btn-link
= icon('search')
%span
@@ -26,7 +26,7 @@
%ul.filter-dropdown{ 'data-dynamic' => true, 'data-dropdown' => true }
%li.filter-dropdown-item
%button.btn.btn-link
- %i.fa{ 'class': '{{icon}}'}
+ %i.fa{ class: '{{icon}}'}
%span.js-filter-hint
{{hint}}
%span.js-filter-tag.dropdown-light-content
@@ -35,7 +35,7 @@
%ul.filter-dropdown{ 'data-dynamic' => true, 'data-dropdown' => true }
%li.filter-dropdown-item
%button.btn.btn-link.dropdown-user
- %img.avatar.avatar-inline{ 'data-src': '{{avatar_url}}', width: '30' }
+ %img.avatar.avatar-inline{ 'data-src' => '{{avatar_url}}', width: '30' }
.dropdown-user-details
%span
{{name}}
@@ -43,14 +43,14 @@
@{{username}}
#js-dropdown-assignee.dropdown-menu
%ul{ 'data-dropdown' => true }
- %li.filter-dropdown-item{ 'data-value': 'none' }
+ %li.filter-dropdown-item{ 'data-value' => 'none' }
%button.btn.btn-link
No Assignee
%li.divider
%ul.filter-dropdown{ 'data-dynamic' => true, 'data-dropdown' => true }
%li.filter-dropdown-item
%button.btn.btn-link.dropdown-user
- %img.avatar.avatar-inline{ 'data-src': '{{avatar_url}}', width: '30' }
+ %img.avatar.avatar-inline{ 'data-src' => '{{avatar_url}}', width: '30' }
.dropdown-user-details
%span
{{name}}
@@ -58,10 +58,10 @@
@{{username}}
#js-dropdown-milestone.dropdown-menu{ 'data-dropdown' => true }
%ul{ 'data-dropdown' => true }
- %li.filter-dropdown-item{ 'data-value': 'none' }
+ %li.filter-dropdown-item{ 'data-value' => 'none' }
%button.btn.btn-link
No Milestone
- %li.filter-dropdown-item{ 'data-value': 'upcoming' }
+ %li.filter-dropdown-item{ 'data-value' => 'upcoming' }
%button.btn.btn-link
Upcoming
%li.divider
@@ -71,14 +71,14 @@
{{title}}
#js-dropdown-label.dropdown-menu{ 'data-dropdown' => true }
%ul{ 'data-dropdown' => true }
- %li.filter-dropdown-item{ 'data-value': 'none' }
+ %li.filter-dropdown-item{ 'data-value' => 'none' }
%button.btn.btn-link
No Label
%li.divider
%ul.filter-dropdown{ 'data-dynamic' => true, 'data-dropdown' => true }
%li.filter-dropdown-item
%button.btn.btn-link
- %span.dropdown-label-box{ 'style': 'background: {{color}}'}
+ %span.dropdown-label-box{ style => 'background: {{color}}'}
%span.label-title.js-data-value
{{title}}
.pull-right