2009-09-10 07:50:51 +00:00
|
|
|
<div class="post">
|
|
|
|
<div class="picture">
|
2011-03-03 21:45:58 +00:00
|
|
|
{% set author_url="http://www.facebook.com/profile.php?id=" + escape(post["from"]["id"]) %}
|
|
|
|
<a href="{{ author_url }}"><img src="//graph.facebook.com/{{ escape(post["from"]["id"]) }}/picture?type=square"/></a>
|
2009-09-10 07:50:51 +00:00
|
|
|
</div>
|
|
|
|
<div class="body">
|
2011-03-03 21:45:58 +00:00
|
|
|
<a href="{{ author_url }}" class="actor">{{ escape(post["from"]["name"]) }}</a>
|
2011-04-25 06:16:31 +00:00
|
|
|
{% if "message" in post %}
|
2009-09-10 07:50:51 +00:00
|
|
|
<span class="message">{{ escape(post["message"]) }}</span>
|
|
|
|
{% end %}
|
|
|
|
<div class="meta">
|
2011-04-25 06:15:08 +00:00
|
|
|
{% if "actions" in post %}
|
|
|
|
<a href="{{ escape(post["actions"][0]["link"]) }}" class="permalink">{{ locale.format_date(datetime.datetime.strptime(post["created_time"], "%Y-%m-%dT%H:%M:%S+0000")) }}</a>
|
|
|
|
{% end %}
|
2009-09-10 07:50:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|