2012-03-01 19:47:57 +01:00
|
|
|
- if event.allowed?
|
2012-09-24 11:32:51 +02:00
|
|
|
%div.event-item
|
|
|
|
- if event.issue?
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "events/event_issue", event: event
|
2012-06-12 16:43:16 +02:00
|
|
|
|
2012-09-24 11:32:51 +02:00
|
|
|
- elsif event.merge_request?
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "events/event_merge_request", event: event
|
2012-06-12 16:43:16 +02:00
|
|
|
|
2012-09-24 11:32:51 +02:00
|
|
|
- elsif event.push?
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "events/event_push", event: event
|
2012-06-12 16:43:16 +02:00
|
|
|
|
2012-09-24 11:32:51 +02:00
|
|
|
- elsif event.membership_changed?
|
2012-09-09 23:27:47 +02:00
|
|
|
= render "events/event_membership_changed", event: event
|
2012-09-09 22:18:28 +02:00
|
|
|
|
2012-09-24 11:32:51 +02:00
|
|
|
%span.cgray.right
|
|
|
|
= time_ago_in_words(event.created_at)
|
|
|
|
ago.
|
|
|
|
.clearfix
|