gitlab-org--gitlab-foss/app/views/events/_event.html.haml

16 lines
373 B
Text
Raw Normal View History

2012-03-01 13:47:57 -05:00
- if event.allowed?
%div.event-item
2012-10-01 09:58:13 -04:00
= event_image(event)
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
2012-10-01 09:58:13 -04:00
- if event.push?
2012-10-01 09:58:13 -04:00
= render "events/event/push", event: event
- else
2012-10-01 09:58:13 -04:00
= render "events/event/common", event: event
2012-09-09 16:18:28 -04:00
2012-10-01 09:58:13 -04:00
.clearfix
%span.cgray.right
= time_ago_in_words(event.created_at)
ago.
.clearfix