{% extends "layout.html" %} {% import 'utils.html' as utils %} {% block title %}Stream - {{ config.NAME }}{% endblock %} {% block content %}
{% include "header.html" %}
{% for item in inbox_data %} {% if item | has_type('Create') %} {{ utils.display_note(item.activity.object, ui=True) }} {% else %} {% if item | has_type('Announce') %} {% set boost_actor = item.activity.actor | get_actor %}

{{ boost_actor.name or boost_actor.preferredUsername }} boosted

{% if item.meta.object %} {{ utils.display_note(item.meta.object, ui=True) }} {% endif %} {% endif %} {% if item | has_type('Follow') %}

new follower

{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }}
{% elif item | has_type('Accept') %}

you started following

{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }}
{% elif item | has_type('Undo') %}

unfollowed you

{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }}
{% else %} {% endif %} {% endif %} {% endfor %} {{ utils.display_pagination(older_than, newer_than) }}
{% endblock %}