<% if (notifications.length) { %> <% _.each(notifications.last(notifications.length).reverse(), function(notification) { %> <% var topic = notification.get('topic'), icons = {'error': 'icon-attention', 'discover': 'icon-bell'} %> <% var nodeId = notification.get('node_id') %>
  • >
    <%= notification.escape('date') %> <%= notification.escape('time') %>
    <%= urlify(notification.escape('message')) %>
  • <% }) %> <% } else { %>
    <% } %>