_event.html.haml 454 Bytes
Newer Older
1
- if event.proper?
2 3 4
  %div.event-item
    %span.cgray.pull-right
      #{time_ago_in_words(event.created_at)} ago.
5

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

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