diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-05 20:49:30 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-05 20:49:30 -0500 |
commit | d14acc3fd503c7156f6c0e50f3c39a5c552fd6d4 (patch) | |
tree | 320d85b832e05483438753ccc8f376bd41e5a891 | |
parent | 12162339b45d854452ebc26d5a92ce1a5f7e442a (diff) | |
download | gitlab-ce-d14acc3fd503c7156f6c0e50f3c39a5c552fd6d4.tar.gz |
Fix haml lint
-rw-r--r-- | app/views/shared/issuable/_nav.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/issuable/_nav.html.haml b/app/views/shared/issuable/_nav.html.haml index adccfa53a59..cacce91280e 100644 --- a/app/views/shared/issuable/_nav.html.haml +++ b/app/views/shared/issuable/_nav.html.haml @@ -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)} |