2020-09-29 04:08:42 +00:00
|
|
|
{% load humanize %}
|
2020-03-10 00:03:59 +00:00
|
|
|
{% load fr_display %}
|
2020-04-01 21:55:32 +00:00
|
|
|
|
2020-09-29 20:11:52 +00:00
|
|
|
<div class="card{% if depth %} depth-{{ depth }} {% if main %}main{% else %}reply{% endif %}{% endif %}">
|
2020-09-29 04:08:42 +00:00
|
|
|
<header class="card-header">
|
2020-09-29 01:25:05 +00:00
|
|
|
{% include 'snippets/status_header.html' with status=status %}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="card-content">
|
|
|
|
{% if status.status_type == 'Boost' %}
|
|
|
|
{% include 'snippets/status_content.html' with status=status.boosted_status %}
|
|
|
|
{% else %}
|
2020-04-02 02:38:07 +00:00
|
|
|
{% include 'snippets/status_content.html' with status=status %}
|
2020-09-29 01:25:05 +00:00
|
|
|
{% endif %}
|
2020-04-02 02:38:07 +00:00
|
|
|
</div>
|
2020-04-01 21:32:56 +00:00
|
|
|
|
2020-09-29 01:25:05 +00:00
|
|
|
<footer class="card-footer">
|
|
|
|
{% if status.status_type == 'Boost' %}
|
|
|
|
{% include 'snippets/interaction.html' with activity=status.boosted_status %}
|
|
|
|
{% else %}
|
|
|
|
{% include 'snippets/interaction.html' with activity=status %}
|
|
|
|
{% endif %}
|
2020-09-29 04:08:42 +00:00
|
|
|
|
|
|
|
<div class="card-footer-item">
|
|
|
|
<span class="icon icon-public">
|
|
|
|
<span class="hidden-text">Public post</span>
|
|
|
|
</span>
|
|
|
|
<a href="{{ status.remote_id }}">{{ status.published_date | naturaltime }}</a>
|
|
|
|
</div>
|
2020-09-29 01:25:05 +00:00
|
|
|
</footer>
|
2020-03-10 00:03:59 +00:00
|
|
|
</div>
|