Make link to "all notifications" accessible even if your monitor is too small for all of your notifications

This commit is contained in:
Bandie 2022-11-24 02:46:32 +01:00 committed by Andreas Nedbal
parent 13bd043722
commit ecb68eaee4

View file

@ -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")