_event.html.haml 492 Bytes
Newer Older
1
- if event.proper?
2
  .event-item{class: "#{event.body? ? "event-block" : "event-inline" }"}
3
    %span.cgray.pull-right
4
      #{time_ago_with_tooltip(event.created_at)}
5

6
    = cache event do
7
      = image_tag avatar_icon(event.author_email, 24), class: "avatar s24", alt:''
8

9 10 11 12 13 14
      - if event.push?
        = render "events/event/push", event: event
      - elsif event.note?
        = render "events/event/note", event: event
      - else
        = render "events/event/common", event: event
15