Minor tweaks to activities

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

View File

@@ -1,15 +1,14 @@
.d-activity .d-activity
| {% if activities['_meta']['total'] %} | {% if activities['_meta']['total'] %}
h3 Activity ul
| {% for act in activities['_items'] %}
ul li
| {% for act in activities['_items'] %} span.date(title="{{ act._created }}") {{ act._created | pretty_date_time }}
li span.actor {{ act['actor_user']['full_name'] }}
span.date {{ act._created | pretty_date_time }}:  span.verb {{ act.verb }}
| {{ act['actor_user']['full_name'] }} {{ act.verb }} | {% endfor %}
| {% endfor %} | {% else %}
| {% else %} p.
p. No activity detected, which is strange, as we also consider creation
No activity detected, which is strange, as we also consider creation to be an activity.
to be an activity. | {% endif %}
| {% endif %}