BigW Consortium Gitlab

_event.html.haml 602 Bytes
Newer Older
1
- if event.visible_to_user?(current_user)
2
  .event-item{ class: event_row_class(event) }
3
    .event-item-timestamp
4
      #{time_ago_with_tooltip(event.created_at, skip_js: true)}
5

6
    = cache [event, current_application_settings, "v2.2"] do
7
      = author_avatar(event, size: 40)
8

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