Commit d14acc3f authored by Clement Ho's avatar Clement Ho

Fix haml lint

parent 12162339
......@@ -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)}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment