gitlabhq/app/views/events/_event.html.haml

19 lines
470 B
Plaintext
Raw Normal View History

2012-03-01 19:47:57 +01:00
- if event.allowed?
%div.event-item
- if event.issue?
= render "events/event_issue", event: event
2012-06-12 16:43:16 +02:00
- elsif event.merge_request?
= render "events/event_merge_request", event: event
2012-06-12 16:43:16 +02:00
- elsif event.push?
= render "events/event_push", event: event
2012-06-12 16:43:16 +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
%span.cgray.right
= time_ago_in_words(event.created_at)
ago.
.clearfix