=link_topage_filter_path(state: 'opened'),id: 'state-opened',title: _("Filter by %{page_context_word} that are currently open.")%{page_context_word: page_context_word},data: {state: 'opened'}do
=gl_tab_link_topage_filter_path(state: 'opened'),{item_active: params[:state]=='opened',id: 'state-opened',title: _("Filter by %{page_context_word} that are currently open.")%{page_context_word: page_context_word},data: {state: 'opened'}}do
=link_topage_filter_path(state: 'merged'),id: 'state-merged',title: _('Filter by merge requests that are currently merged.'),data: {state: 'merged'}do
=gl_tab_link_topage_filter_path(state: 'merged'),item_active: params[:state]=='merged',id: 'state-merged',title: _('Filter by merge requests that are currently merged.'),data: {state: 'merged'}do
=link_topage_filter_path(state: 'closed'),id: 'state-closed',title: _('Filter by merge requests that are currently closed and unmerged.'),data: {state: 'closed'}do
=gl_tab_link_topage_filter_path(state: 'closed'),item_active: params[:state]=='closed',id: 'state-closed',title: _('Filter by merge requests that are currently closed and unmerged.'),data: {state: 'closed'}do
=link_topage_filter_path(state: 'closed'),id: 'state-closed',title: _('Filter by issues that are currently closed.'),data: {state: 'closed',qa_selector: 'closed_issues_link'}do
=gl_tab_link_topage_filter_path(state: 'closed'),item_active: params[:state]=='closed',id: 'state-closed',title: _('Filter by issues that are currently closed.'),data: {state: 'closed',qa_selector: 'closed_issues_link'}do
=link_topage_filter_path(state: 'opened'),id: 'state-opened',title: (_("Filter by %{issuable_type} that are currently open.")%{issuable_type: page_context_word}),data: {state: 'opened'}do
=gl_tab_link_topage_filter_path(state: 'opened'),item_active: params[:state]=='opened',id: 'state-opened',title: (_("Filter by %{issuable_type} that are currently open.")%{issuable_type: page_context_word}),data: {state: 'opened'}do
=link_topage_filter_path(state: 'closed'),id: 'state-closed',title: (_("Filter by %{issuable_type} that are currently closed.")%{issuable_type: page_context_word}),data: {state: 'closed'}do
=gl_tab_link_topage_filter_path(state: 'closed'),item_active: params[:state]=='closed',id: 'state-closed',title: (_("Filter by %{issuable_type} that are currently closed.")%{issuable_type: page_context_word}),data: {state: 'closed'}do