{% load activity_tags %} {% for k, v in actions.items %}
  • {% if v.actor_count < 4 %} {{ v.actors|join_and }} {% else %} {{ v.actors.0 }} and {{ v.actor_count }} others {% endif %} {{ v.verb }} {# check for template, or just output something #} {% render_activity v.item as tmpl %} {% if tmpl %} {{ tmpl }} {% else %} {{ k }} {% endif %}
  • {% endfor %}