Sha256: 45dc9ddf2ebbcfd9028ef9259ff5d7f66f5f8bba7984eb29475e533519047ae3
Contents?: true
Size: 407 Bytes
Versions: 10
Compression:
Stored size: 407 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
10 entries across 10 versions & 1 rubygems