If answer is missing on avis, notify on avis tab

This commit is contained in:
Mathieu Magnin 2017-12-14 18:30:27 +01:00
parent 3b73a781cc
commit 3927e5ebf9

View file

@ -9,5 +9,7 @@
= link_to 'Demande', avis_path(avis)
%li{ class: current_page?(instruction_avis_path(avis)) ? 'active' : nil }
= link_to 'Avis', instruction_avis_path(avis)
- if avis.answer == nil
%span.notifications{ 'aria-label': 'notifications' }
%li{ class: current_page?(messagerie_avis_path(avis)) ? 'active' : nil }
= link_to 'Messagerie', messagerie_avis_path(avis)