app/helpers/notifications_helper.rb
# determine the color of a notification card
determine the color of a notification card
determine the color of a notification card
def notification_color(notification)
    return 'bg-post-it-blue' if notification.generic_announcement?
    return 'bg-post-it-red' if notification.announcement?
    return 'bg-post-it-orange' if notification.course? || notification.lecture?
    'bg-post-it-yellow'
  end
def notification_color ( notification ) return 'bg-post-it-blue' if notification . generic_announcement? return 'bg-post-it-red' if notification . announcement? return 'bg-post-it-orange' if notification . course? || notification . lecture? 'bg-post-it-yellow' end
determine the color of a notification card
determine the color of a notification card
notification
<not_specific>