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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d14acc3f
Commit
d14acc3f
authored
Jun 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix haml lint
parent
12162339
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/shared/issuable/_nav.html.haml
app/views/shared/issuable/_nav.html.haml
+4
-4
No files found.
app/views/shared/issuable/_nav.html.haml
View file @
d14acc3f
...
...
@@ -5,20 +5,20 @@
%ul
.nav-links.issues-state-filters
%li
{
class:
active_when
(
params
[
:state
]
==
'opened'
)
}
>
%div
.div-btn.state-opened
{
id:
'state-opened'
,
title:
"Filter by #{page_context_word} that are currently opened."
,
role:
'button'
}
.div-btn.state-opened
{
id:
'state-opened'
,
title:
"Filter by #{page_context_word} that are currently opened."
,
role:
'button'
}
#{
issuables_state_counter_text
(
type
,
:opened
)
}
-
if
type
==
:merge_requests
%li
{
class:
active_when
(
params
[
:state
]
==
'merged'
)
}
>
%div
.div-btn.state-merged
{
id:
'state-merged'
,
title:
'Filter by merge requests that are currently merged.'
,
role:
'button'
}
.div-btn.state-merged
{
id:
'state-merged'
,
title:
'Filter by merge requests that are currently merged.'
,
role:
'button'
}
#{
issuables_state_counter_text
(
type
,
:merged
)
}
-
closed_title
=
'Filter by merge requests that are currently closed and unmerged.'
%li
{
class:
active_when
(
params
[
:state
]
==
'closed'
)
}
>
%div
.div-btn.state-closed
{
id:
'state-closed'
,
title:
closed_title
,
role:
'button'
}
.div-btn.state-closed
{
id:
'state-closed'
,
title:
closed_title
,
role:
'button'
}
#{
issuables_state_counter_text
(
type
,
:closed
)
}
%li
{
class:
active_when
(
params
[
:state
]
==
'all'
)
}
>
%div
.div-btn.state-all
{
id:
'state-all'
,
title:
"Show all #{page_context_word}."
,
role:
'button'
}
.div-btn.state-all
{
id:
'state-all'
,
title:
"Show all #{page_context_word}."
,
role:
'button'
}
#{
issuables_state_counter_text
(
type
,
:all
)
}
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