Fixes invalid likes/boost

This commit is contained in:
Thomas Sileo
2018-08-28 22:14:48 +02:00
parent a8baa88fb5
commit 2464dd8782
3 changed files with 18 additions and 6 deletions

View File

@@ -14,7 +14,9 @@
{% if item | has_type('Announce') %}
{% set boost_actor = item.meta.actor %}
{% if boost_actor %}
<p style="margin-left:70px;padding-bottom:5px;"><span class="bar-item-no-hover"><a style="color:#808080;" href="{{ boost_actor.url | get_url }}">{{ boost_actor.name or boost_actor.preferredUsername }}</a> boosted</span></p>
{% endif %}
{% if item.meta.object %}
{{ utils.display_note(item.meta.object, ui=True) }}
{% endif %}