gitlab-org--gitlab-foss/app/views/events/_event.html.haml
2012-09-10 00:27:47 +03:00

17 lines
417 B
Text

- if event.allowed?
- if event.issue?
.event_feed
= render "events/event_issue", event: event
- elsif event.merge_request?
.event_feed
= render "events/event_merge_request", event: event
- elsif event.push?
.event_feed
= render "events/event_push", event: event
- elsif event.membership_changed?
.event_feed
= render "events/event_membership_changed", event: event