mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:09:52 +01:00
Fix "Content missing" on "Show all notifications"
This commit is contained in:
parent
a3dbad5265
commit
57ed3008d3
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
- if notifications.count.zero?
|
- if notifications.count.zero?
|
||||||
%a.dropdown-item.text-center{ href: notifications_path('all') }
|
%a.dropdown-item.text-center{ href: notifications_path('all'), data: { turbo_frame: "_top" } }
|
||||||
%i.fa.fa-fw.fa-chevron-right
|
%i.fa.fa-fw.fa-chevron-right
|
||||||
= t(".all")
|
= t(".all")
|
||||||
.dropdown-item.text-center.p-2
|
.dropdown-item.text-center.p-2
|
||||||
%i.fa.fa-bell-o.notification__bell-icon
|
%i.fa.fa-bell-o.notification__bell-icon
|
||||||
%p= t(".none")
|
%p= t(".none")
|
||||||
- else
|
- else
|
||||||
%a.dropdown-item.text-center{ href: notifications_path }
|
%a.dropdown-item.text-center{ href: notifications_path, data: { turbo_frame: "_top" } }
|
||||||
%i.fa.fa-fw.fa-chevron-right
|
%i.fa.fa-fw.fa-chevron-right
|
||||||
= t(".new")
|
= t(".new")
|
||||||
= link_to notifications_read_path, class: "dropdown-item text-center", data: { turbo_stream: true, turbo_method: :post } do
|
= link_to notifications_read_path, class: "dropdown-item text-center", data: { turbo_stream: true, turbo_method: :post } do
|
||||||
|
|
Loading…
Reference in a new issue