mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:19:53 +01:00
14 lines
441 B
Text
14 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
|