mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:26:01 +01:00
Make link to "all notifications" accessible even if your monitor is too small for all of your notifications
This commit is contained in:
parent
13bd043722
commit
ecb68eaee4
1 changed files with 4 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue