mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 23:30:59 +00:00
9 lines
349 B
HTML
9 lines
349 B
HTML
{% 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 %}
|