diff --git a/app/views/navigation/dropdown/_notifications.html.haml b/app/views/navigation/dropdown/_notifications.html.haml index 633f2a51..2a3b04b9 100644 --- a/app/views/navigation/dropdown/_notifications.html.haml +++ b/app/views/navigation/dropdown/_notifications.html.haml @@ -7,10 +7,11 @@ %i.fa.fa-fw.fa-chevron-right = t(".all") - else + %a.dropdown-item.text-center{ href: notifications_path } + %i.fa.fa-fw.fa-chevron-right + = t(".new") + - notifications.each do |notification| .dropdown-item = render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification - %a.dropdown-item.text-center{ href: notifications_path } - %i.fa.fa-fw.fa-chevron-right - = t(".new")