2012-03-01 19:47:57 +01:00
|
|
|
- if event.allowed?
|
2012-09-24 11:32:51 +02:00
|
|
|
%div.event-item
|
2012-10-01 15:58:13 +02:00
|
|
|
= event_image(event)
|
2012-11-27 07:31:15 +01:00
|
|
|
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
|
2012-10-01 15:58:13 +02:00
|
|
|
|
2012-10-01 15:39:19 +02:00
|
|
|
- if event.push?
|
2012-10-01 15:58:13 +02:00
|
|
|
= render "events/event/push", event: event
|
2012-10-01 15:39:19 +02:00
|
|
|
- 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
|
2012-09-24 11:32:51 +02:00
|
|
|
%span.cgray.right
|
|
|
|
= time_ago_in_words(event.created_at)
|
|
|
|
ago.
|
|
|
|
.clearfix
|