19 lines
470 B
Plaintext
19 lines
470 B
Plaintext
- if event.allowed?
|
|
%div.event-item
|
|
- if event.issue?
|
|
= render "events/event_issue", event: event
|
|
|
|
- elsif event.merge_request?
|
|
= render "events/event_merge_request", event: event
|
|
|
|
- elsif event.push?
|
|
= render "events/event_push", event: event
|
|
|
|
- elsif event.membership_changed?
|
|
= render "events/event_membership_changed", event: event
|
|
|
|
%span.cgray.right
|
|
= time_ago_in_words(event.created_at)
|
|
ago.
|
|
.clearfix
|