debian-mirror-gitlab/app/views/shared/issuable/nav_links/_all.html.haml
2019-02-15 15:39:39 +05:30

7 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}