{% 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.type == 'Create' %} {{ utils.display_note(item, ui=True) }} {% else %} {% if item.type == 'Announce' %} {% set boost_actor = item.activity.actor | get_actor %}

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

{% if item.ref %} {{ utils.display_note(item.ref, ui=True) }} {% endif %} {% endif %} {% if item.type == 'Follow' %}

{{ item.activity.actor }} followed you

{% elif item.type == 'Accept' %}

you followed {{ item.activity.actor }}

{% elif item.type == 'Undo' %}

{{ item.activity.actor }} unfollowed you

{% else %} {% endif %} {% endif %} {% endfor %}
{% endblock %}