-foreach($notifications as $n)
  .notif_stream_item
    ='[ '.$n['timestamp'].' ]'
    %a.pull-right.ajax-link.pad5(href="#" ajax-href="#{$n['dismiss_url']}")
      .icon-trash
    -if(user()->checkAccess('notification'))
      %a.pull-right.pad5(href="#{$n['view_url']}")
        .icon-bell
    %br
    !=$n['content']