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

6 lines
232 B
Text
Raw Normal View History

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