2018-04-27 00:49:43 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load humanize %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-08-23 17:19:32 +02:00
|
|
|
Brutaldon ({{ own_acct.username }}) - thread
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
mastodon.status_context(<numerical id>)
|
2018-08-23 17:19:32 +02:00
|
|
|
# Returns the following dictionary:
|
|
|
|
{
|
|
|
|
'ancestors': # A list of toot dicts
|
|
|
|
'descendants': # A list of toot dicts
|
|
|
|
}
|
|
|
|
{% endcomment %}
|
2018-04-27 00:49:43 +02:00
|
|
|
|
2018-08-23 17:19:32 +02:00
|
|
|
{% block content %}
|
|
|
|
<h1 id="title" class="title">
|
|
|
|
Thread
|
|
|
|
</h1>
|
2019-02-16 02:09:32 +01:00
|
|
|
{% for ancestor in ancestors %}
|
|
|
|
{% include "main/toot_partial.html" with toot=ancestor %}
|
|
|
|
<hr class="is-hidden">
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endfor %}
|
2018-08-23 17:19:32 +02:00
|
|
|
{% include "main/toot_partial.html" with toot=toot active=True %}
|
2018-04-27 01:46:05 +02:00
|
|
|
<hr class="is-hidden">
|
2019-02-16 02:09:32 +01:00
|
|
|
{% for descendant in descendants %}
|
|
|
|
{% include "main/toot_partial.html" with toot=descendant %}
|
|
|
|
<hr class="is-hidden">
|
2018-04-27 00:49:43 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
2018-10-09 19:08:02 +02:00
|
|
|
{% if not preferences.no_javascript %}
|
2018-09-06 18:07:31 +02:00
|
|
|
<script type="application/javascript">
|
|
|
|
Intercooler.ready(expandCWButtonPrepare);
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
2018-08-23 17:19:32 +02:00
|
|
|
{% endblock %}
|
|
|
|
|