2018-04-27 00:49:43 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load humanize %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-07-18 19:40:42 +02:00
|
|
|
Brutaldon ({{ own_acct.username }}) - thread
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
mastodon.status_context(<numerical id>)
|
|
|
|
# Returns the following dictionary:
|
|
|
|
{
|
|
|
|
'ancestors': # A list of toot dicts
|
|
|
|
'descendants': # A list of toot dicts
|
|
|
|
}
|
2018-05-23 16:05:13 +02:00
|
|
|
{% endcomment %}
|
2018-04-27 00:49:43 +02:00
|
|
|
|
2018-05-23 16:05:13 +02:00
|
|
|
{% block content %}
|
2018-04-27 00:49:43 +02:00
|
|
|
<h1 class="title">Thread</h1>
|
|
|
|
{% for ancestor in context.ancestors %}
|
2018-05-23 16:05:13 +02:00
|
|
|
{% include "main/toot_partial.html" with toot=ancestor %}
|
|
|
|
<hr class="is-hidden">
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endfor %}
|
2018-05-23 16:05:13 +02:00
|
|
|
{% include "main/toot_partial.html" with toot=toot active=True %}
|
2018-04-27 01:46:05 +02:00
|
|
|
<hr class="is-hidden">
|
2018-04-27 00:49:43 +02:00
|
|
|
{% for descendant in context.descendants %}
|
2018-05-23 16:05:13 +02:00
|
|
|
{% include "main/toot_partial.html" with toot=descendant %}
|
|
|
|
<hr class="is-hidden">
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
2018-05-23 16:05:13 +02:00
|
|
|
{% endblock %}
|