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

16 lines
518 B
HTML
Raw Normal View History

2021-05-11 22:14:42 +00:00
{% load status_display %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-05-11 22:14:42 +00:00
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 %}
2021-03-07 23:20:09 +00:00
{{ status.user.display_name }}
2021-03-07 18:24:46 +00:00
</a>
2021-02-28 02:48:10 +00:00
{% trans "boosted" %}
{% include 'snippets/status/body.html' with status=status|boosted_status %}
2020-11-08 02:59:38 +00:00
{% else %}
{% include 'snippets/status/body.html' with status=status %}
2020-11-08 02:59:38 +00:00
{% endif %}
2020-10-08 19:38:06 +00:00
{% endif %}