debian-mirror-gitlab/app/views/shared/issuable/nav_links/_all.html.haml
2019-02-13 22:33:31 +05:30

6 lines
300 B
Text

- page_context_word = local_assigns.fetch(:page_context_word)
- counter = local_assigns.fetch(:counter)
%li{ class: active_when(params[:state] == 'all') }>
= link_to page_filter_path(state: 'all'), id: 'state-all', title: "Show all #{page_context_word}.", data: { state: 'all' } do
#{counter}