{% extends "base.html" %} {% load humanize %} {% load taglinks %} {% block title %} Brutaldon - {{ timeline }} 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 {{ timeline }} 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 |naturaltime }} )

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

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

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

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