summaryrefslogtreecommitdiffstats
path: root/templates/activities/_boost.html
blob: 8e90045269761a7d609e2250b66557683bc1bc20 (plain)
1
2
3
4
5
6
7
8
9
{% if post.pk in interactions.boost %}
    <a title="Unboost" class="active" hx-post="{{ post.urls.action_unboost }}" hx-swap="outerHTML">
        <i class="fa-solid fa-retweet"></i>
    </a>
{% else %}
    <a title="Boost" hx-post="{{ post.urls.action_boost }}" hx-swap="outerHTML">
        <i class="fa-solid fa-retweet"></i>
    </a>
{% endif %}