demarches-normaliennes/app/views/layouts/header/_avis_tab.html.haml

6 lines
249 B
Text
Raw Normal View History

%li.fr-nav__item
= active_link_to expert_all_avis_path, active: controller_name == 'avis', class: 'fr-nav__link' do
Avis
- if current_expert.avis_summary[:unanswered] > 0
%span.badge.warning= current_expert.avis_summary[:unanswered]