moviewyrm/bookwyrm/templates/snippets/status/status.html

15 lines
530 B
HTML
Raw Normal View History

2020-12-13 02:25:04 +00:00
{% load bookwyrm_tags %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2020-10-08 19:38:06 +00:00
{% if not status.deleted %}
2021-03-03 04:17:32 +00:00
{% if status.status_type == 'Announce' %}
2021-03-07 18:24:46 +00:00
<a href="{{ status.user.local_path }}">
{% include 'snippets/avatar.html' with user=status.user %}
{{ stauts.user.display_name }}
2021-03-07 18:24:46 +00:00
</a>
2021-02-28 02:48:10 +00:00
{% trans "boosted" %}
2021-02-23 21:34:16 +00:00
{% include 'snippets/status/status_body.html' with status=status|boosted_status %}
2020-11-08 02:59:38 +00:00
{% else %}
2021-02-23 21:34:16 +00:00
{% include 'snippets/status/status_body.html' with status=status %}
2020-11-08 02:59:38 +00:00
{% endif %}
2020-10-08 19:38:06 +00:00
{% endif %}