Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
896497ab
Commit
896497ab
authored
Jan 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix haml lint
parent
0a1d8875
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
app/views/shared/issuable/_search_bar.html.haml
app/views/shared/issuable/_search_bar.html.haml
+8
-8
No files found.
app/views/shared/issuable/_search_bar.html.haml
View file @
896497ab
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%li
.filter-dropdown-item
%li
.filter-dropdown-item
%button
.btn.btn-link
%button
.btn.btn-link
%i
.fa
{
class:
'
{{
icon
}}
'
}
%i
.fa
{
class:
"#{'{{icon}}'}"
}
%span
.js-filter-hint
%span
.js-filter-hint
{{hint}}
{{hint}}
%span
.js-filter-tag.dropdown-light-content
%span
.js-filter-tag.dropdown-light-content
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%li
.filter-dropdown-item
%li
.filter-dropdown-item
%button
.btn.btn-link.dropdown-user
%button
.btn.btn-link.dropdown-user
%img
.avatar.avatar-inline
{
'data-src'
=>
'
{{
avatar_url
}}
', width: '
30
'
}
%img
.avatar.avatar-inline
{
'data-src'
=>
'
{{
avatar_url
}}
',
alt: '
{{
name
}}\
's avatar'
,
width:
'30'
}
.dropdown-user-details
.dropdown-user-details
%span
%span
{{name}}
{{name}}
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%li
.filter-dropdown-item
%li
.filter-dropdown-item
%button
.btn.btn-link.dropdown-user
%button
.btn.btn-link.dropdown-user
%img
.avatar.avatar-inline
{
'data-src'
=>
'
{{
avatar_url
}}
', width: '
30
'
}
%img
.avatar.avatar-inline
{
'data-src'
=>
'
{{
avatar_url
}}
',
alt: '
{{
name
}}\
's avatar'
,
width:
'30'
}
.dropdown-user-details
.dropdown-user-details
%span
%span
{{name}}
{{name}}
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%ul
.filter-dropdown
{
'data-dynamic'
=>
true
,
'data-dropdown'
=>
true
}
%li
.filter-dropdown-item
%li
.filter-dropdown-item
%button
.btn.btn-link
%button
.btn.btn-link
%span
.dropdown-label-box
{
style:
'
background:
{{
color
}}
'
}
%span
.dropdown-label-box
{
style:
'
background:
{{
color
}}
'
}
%span
.label-title.js-data-value
%span
.label-title.js-data-value
{{title}}
{{title}}
.pull-right
.pull-right
...
@@ -90,9 +90,9 @@
...
@@ -90,9 +90,9 @@
=
dropdown_tag
(
"Status"
,
options:
{
toggle_class:
"js-issue-status"
,
title:
"Change status"
,
dropdown_class:
"dropdown-menu-status dropdown-menu-selectable"
,
data:
{
field_name:
"update[state_event]"
}
}
)
do
=
dropdown_tag
(
"Status"
,
options:
{
toggle_class:
"js-issue-status"
,
title:
"Change status"
,
dropdown_class:
"dropdown-menu-status dropdown-menu-selectable"
,
data:
{
field_name:
"update[state_event]"
}
}
)
do
%ul
%ul
%li
%li
%a
{
href:
"#"
,
data:
{
id:
"reopen"
}
}
Open
%a
{
href:
"#"
,
data:
{
id:
"reopen"
}
}
Open
%li
%li
%a
{
href:
"#"
,
data:
{
id:
"close"
}
}
Closed
%a
{
href:
"#"
,
data:
{
id:
"close"
}
}
Closed
.filter-item.inline
.filter-item.inline
=
dropdown_tag
(
"Assignee"
,
options:
{
toggle_class:
"js-user-search js-update-assignee js-filter-submit js-filter-bulk-update"
,
title:
"Assign to"
,
filter:
true
,
dropdown_class:
"dropdown-menu-user dropdown-menu-selectable"
,
=
dropdown_tag
(
"Assignee"
,
options:
{
toggle_class:
"js-user-search js-update-assignee js-filter-submit js-filter-bulk-update"
,
title:
"Assign to"
,
filter:
true
,
dropdown_class:
"dropdown-menu-user dropdown-menu-selectable"
,
placeholder:
"Search authors"
,
data:
{
first_user:
(
current_user
.
username
if
current_user
),
null_user:
true
,
current_user:
true
,
project_id:
@project
.
id
,
field_name:
"update[assignee_id]"
}
})
placeholder:
"Search authors"
,
data:
{
first_user:
(
current_user
.
username
if
current_user
),
null_user:
true
,
current_user:
true
,
project_id:
@project
.
id
,
field_name:
"update[assignee_id]"
}
})
...
@@ -104,9 +104,9 @@
...
@@ -104,9 +104,9 @@
=
dropdown_tag
(
"Subscription"
,
options:
{
toggle_class:
"js-subscription-event"
,
title:
"Change subscription"
,
dropdown_class:
"dropdown-menu-selectable"
,
data:
{
field_name:
"update[subscription_event]"
}
}
)
do
=
dropdown_tag
(
"Subscription"
,
options:
{
toggle_class:
"js-subscription-event"
,
title:
"Change subscription"
,
dropdown_class:
"dropdown-menu-selectable"
,
data:
{
field_name:
"update[subscription_event]"
}
}
)
do
%ul
%ul
%li
%li
%a
{
href:
"#"
,
data:
{
id:
"subscribe"
}
}
Subscribe
%a
{
href:
"#"
,
data:
{
id:
"subscribe"
}
}
Subscribe
%li
%li
%a
{
href:
"#"
,
data:
{
id:
"unsubscribe"
}
}
Unsubscribe
%a
{
href:
"#"
,
data:
{
id:
"unsubscribe"
}
}
Unsubscribe
=
hidden_field_tag
'update[issuable_ids]'
,
[]
=
hidden_field_tag
'update[issuable_ids]'
,
[]
=
hidden_field_tag
:state_event
,
params
[
:state_event
]
=
hidden_field_tag
:state_event
,
params
[
:state_event
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment