BigW Consortium Gitlab

_event.html.haml 609 Bytes
Newer Older
1
- if event.proper?
2
  .event-item{class: "#{event.body? ? "event-block" : "event-inline" }"}
3
    .event-item-timestamp
4
      #{time_ago_with_tooltip(event.created_at)}
5

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

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