Minor tweaks to activities

This commit is contained in:
2016-10-18 18:24:55 +02:00
parent 5adeceeb91
commit db82c82766

View File

@@ -1,12 +1,11 @@
.d-activity
| {% if activities['_meta']['total'] %}
h3 Activity
ul
| {% for act in activities['_items'] %}
li
span.date {{ act._created | pretty_date_time }}: 
| {{ act['actor_user']['full_name'] }} {{ act.verb }}
span.date(title="{{ act._created }}") {{ act._created | pretty_date_time }}
span.actor {{ act['actor_user']['full_name'] }}
span.verb {{ act.verb }}
| {% endfor %}
| {% else %}
p.