2012-12-14 20:39:55 +01:00
|
|
|
- if event.proper?
|
2012-09-24 11:32:51 +02:00
|
|
|
%div.event-item
|
2013-01-30 15:40:43 +01:00
|
|
|
%span.cgray.pull-right
|
2012-12-14 20:39:55 +01:00
|
|
|
#{time_ago_in_words(event.created_at)} ago.
|
|
|
|
|
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-12-14 20:39:55 +01:00
|
|
|
.clearfix
|
|
|
|
- elsif event.note?
|
2012-12-14 18:33:33 +01:00
|
|
|
= render "events/event/note", 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
|
|
|
|