Sha256: 24cf453879d5244a62333fd0683cb64f31a9f2213da1799da6b52dabeb8c38c4
Contents?: true
Size: 405 Bytes
Versions: 9
Compression:
Stored size: 405 Bytes
Contents
module NotificationsHelper def background_for_notification(notification) notification.read? ? '' : 'bg-light' end def notification_preview_item(icon, name, url, **translation_params) menu_item icon, name, url, 'mu-notification-preview', translation_params end def notification_text_preview_item(icon, text, url) menu_text_item(icon, text, url, 'mu-notification-preview') end end
Version data entries
9 entries across 9 versions & 1 rubygems