Commit 754981ac authored by Lukas Eipert's avatar Lukas Eipert

ensure that epic badges are rendered correctly in group sidebar

parent 3f21afbb
......@@ -9,12 +9,12 @@
= sprite_icon('epic')
%span.nav-item-name
Epics
%span.badge.count= number_with_delimiter(epics.count)
%span.badge.badge-pill.count= number_with_delimiter(epics.count)
%ul.sidebar-sub-level-items
= nav_link(path: epics_items, html_options: { class: "fly-out-top-item" } ) do
= link_to group_epics_path(group) do
%strong.fly-out-top-item-name= _('Epics')
%span.badge.count.epic_counter.fly-out-badge= number_with_delimiter(epics.count)
%span.badge.badge-pill.count.epic_counter.fly-out-badge= number_with_delimiter(epics.count)
%li.divider.fly-out-top-item
= nav_link(path: 'epics#index', html_options: { class: 'home' }) do
= link_to group_epics_path(group), title: 'List' do
......
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