Merge pull request #1108 from sgmap/notify_on_avis_tab

If answer is missing on avis, notify on avis tab
This commit is contained in:
gregoirenovel 2017-12-15 10:50:03 +01:00 committed by GitHub
commit 8be550f869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)