%button.btn.btn-link{id: 'state-opened',title: "Filter by #{page_context_word} that are currently opened.",type: 'button',data: {state: 'opened'}}
=link_topage_filter_path(state: 'opened',label: true),id: 'state-opened',title: "Filter by #{page_context_word} that are currently opened.",data: {state: 'opened'}do
%button.btn.btn-link{id: 'state-merged',title: 'Filter by merge requests that are currently merged.',type: 'button',data: {state: 'merged'}}
=link_topage_filter_path(state: 'merged',label: true),id: 'state-merged',title: 'Filter by merge requests that are currently merged.',data: {state: 'merged'}do
#{issuables_state_counter_text(type,:merged)}
#{issuables_state_counter_text(type,:merged)}
-closed_title='Filter by merge requests that are currently closed and unmerged.'
=link_topage_filter_path(state: 'closed',label: true),id: 'state-closed',title: 'Filter by merge requests that are currently closed and unmerged.',data: {state: 'closed'}do