Commit 28b11dcd authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Kushal Pandya

Externalize i18n strings from ./app/views/shared/_milestones_filter.html.haml

parent 3b180468
%ul.nav-links.mobile-separator.nav.nav-tabs
%li{ class: milestone_class_for_state(params[:state], 'opened', true) }>
= link_to milestones_filter_path(state: 'opened') do
Open
= _('Open')
%span.badge.badge-pill= counts[:opened]
%li{ class: milestone_class_for_state(params[:state], 'closed') }>
= link_to milestones_filter_path(state: 'closed', sort: 'due_date_desc') do
Closed
= _('Closed')
%span.badge.badge-pill= counts[:closed]
%li{ class: milestone_class_for_state(params[:state], 'all') }>
= link_to milestones_filter_path(state: 'all', sort: 'due_date_desc') do
All
= _('All')
%span.badge.badge-pill= counts[:all]
---
title: Externalize i18n strings from ./app/views/shared/_milestones_filter.html.haml
merge_request: 32120
author: Gilang Gumilar
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment