Better Link support

This commit is contained in:
Thomas Sileo
2018-07-15 21:12:57 +02:00
parent 364c1d9273
commit e3284416d2
4 changed files with 15 additions and 12 deletions

View File

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