mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:39:53 +01:00
13 lines
441 B
Text
13 lines
441 B
Text
= turbo_stream.update "notifications-dropdown-list" do
|
|
= render "navigation/dropdown/notifications", notifications:
|
|
|
|
= turbo_stream.update "notification-desktop-icon" do
|
|
- if notification_count.nil?
|
|
%i.fa.fa-bell-o
|
|
- else
|
|
%i.fa.fa-bell
|
|
%span.visually-hidden= t("navigation.notifications")
|
|
%span.badge= notification_count
|
|
|
|
= turbo_stream.update "notification-mobile-count" do
|
|
%span.badge.badge-primary= notification_count
|