extends ../layouts/main-sidebar
block content

  include ../kaleidoscope/components/event

  +renderSectionTitle('Notifications')

  if Array.isArray(notifications) && (notifications.length > 0)
    ul.uk-list
      each notification in notifications
        li
          +renderKaleidoscopeEvent(notification.event)
  else
    div No notifications