2018-08-16 16:30:55 +02:00
|
|
|
%li{ class: (active ? 'active' : nil) }
|
|
|
|
- if notification
|
|
|
|
%span.notifications{ 'aria-label': 'notifications' }
|
2021-12-24 18:10:50 +01:00
|
|
|
= link_to(url, 'aria-current': active ? 'page' : nil) do
|
2018-08-16 16:30:55 +02:00
|
|
|
- if badge.present?
|
|
|
|
%span.badge= badge
|
2021-04-26 17:15:28 +02:00
|
|
|
= label
|