Handle activities for deleted objects.

This commit is contained in:
2016-11-03 18:35:28 +01:00
parent 8a19858b62
commit 89e9d81e64
2 changed files with 6 additions and 1 deletions

View File

@@ -43,11 +43,13 @@
ul
| {% for act in activities['_items'] %}
| {% if act.link %}
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 }}
| {% endif %}
| {% endfor %}
| {% endblock %}