{% extends "base.html" %} {% load humanetime %} {% load taglinks %} {% block title %} Brutaldon ({{ own_acct.username }}) - Notifications timelime {% endblock %} {% comment %} mastodon.notifications()[0] # Returns the following dictionary: { 'id': # id of the notification 'type': # "mention", "reblog", "favourite" or "follow" 'created_at': # The time the notification was created 'account': # User dict of the user from whom the notification originates 'status': # In case of "mention", the mentioning status # In case of reblog / favourite, the reblogged / favourited status } {% endcomment %} {% block content %}

Your notifications timeline

{% for note in notes %} {% if note.type == 'mention' %}

{{ note.account.display_name }} ({{ note.account.acct }}) mentioned you.


{% include "main/toot_partial.html" with toot=note.status reblog=False %} {% elif note.type == 'reblog' %}

{{ note.account.display_name }} ({{ note.account.acct }}) boosted your toot. ( {{ note.created_at |humane_time }} )

{% include "main/toot_partial.html" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar_static %} {% elif note.type == 'favourite' %}

{{ note.account.display_name }} ({{ note.account.acct }}) favorited your toot. ( {{ note.created_at |humane_time }} )

{% include "main/toot_partial.html" with toot=note.status %} {% elif note.type == 'follow' %}

{{ note.account.display_name }} ({{ note.account.acct }}) followed you. ( {{ note.created_at |humane_time }} )
{% endif %} {% endfor %} {% endblock %}