2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-22 21:27:58 +01:00
brutaldon-interfaccia-web-m.../brutaldon/templates/main/thread.html

38 lines
927 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% load humanize %}
{% block title %}
Brutaldon - thread
{% endblock %}
{% comment %}
mastodon.status_context(<numerical id>)
# Returns the following dictionary:
{
'ancestors': # A list of toot dicts
'descendants': # A list of toot dicts
}
{% endcomment %}
{% block content %}
<h1 class="title">Thread</h1>
{% for ancestor in context.ancestors %}
<div class="box">
{% include "main/toot_partial.html" with toot=ancestor %}
</div>
2018-04-27 01:46:05 +02:00
<hr class="is-hidden">
{% endfor %}
<div class="box active_context">
{% include "main/toot_partial.html" with toot=toot %}
</div>
2018-04-27 01:46:05 +02:00
<hr class="is-hidden">
{% for descendant in context.descendants %}
<div class="box">
{% include "main/toot_partial.html" with toot=descendant %}
</div>
2018-04-27 01:46:05 +02:00
<hr class="is-hidden">
{% endfor %}
{% endblock %}