Author avatar on activities list

This commit is contained in:
2016-11-01 15:56:36 +01:00
parent f48e5dc9a2
commit 2e26c01efd
3 changed files with 16 additions and 14 deletions

View File

@@ -36,6 +36,7 @@
| {% for act in activities['_items'] %}
li
a(href="{{ act.link }}")
img.actor-avatar(src="{{ act['actor_user']['email'] | gravatar }}")
span.date(title="{{ act._created }}") {{ act._created | pretty_date_time }}
span.actor {{ act['actor_user']['full_name'] }}
span.verb {{ act.verb }}

View File

@@ -1,9 +1,9 @@
.d-activity
| {% if activities['_meta']['total'] %}
ul
| {% for act in activities['_items'] %}
li
img.actor-avatar(src="{{ act['actor_user']['email'] | gravatar }}")
span.date(title="{{ act._created }}") {{ act._created | pretty_date_time }}
span.actor {{ act['actor_user']['full_name'] }}
span.verb {{ act.verb }}

View File

@@ -3,6 +3,7 @@
ul
| {% for act in activities['_items'] %}
li
img.actor-avatar(src="{{ act['actor_user']['email'] | gravatar }}")
span.date(title="{{ act._created }}") {{ act._created | pretty_date_time }}
span.actor {{ act['actor_user']['full_name'] }}
span.verb {{ act.verb }}