Fix haml lint
This commit is contained in:
parent
12162339b4
commit
d14acc3fd5
1 changed files with 4 additions and 4 deletions
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue