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

16 lines
373 B
Plaintext
Raw Normal View History

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