When a user is thanking, check state to see if other user thanked first, if so switch new_state to THANKED_BY_BOTH. fixes #13

This commit is contained in:
badblocks 2025-04-08 14:12:54 -07:00
parent 52663c83ef
commit a83ce746b5
7 changed files with 35 additions and 42 deletions

View file

@ -1,10 +0,0 @@
{% load trade_offer_tags %}
{% if trade_offers %}
<div class="flex flex-row flex-wrap gap-1 justify-center items-start">
{% for offer in trade_offers %}
{% render_trade_offer offer %}
{% endfor %}
</div>
{% else %}
<p class="text-gray-500">No trade offers found.</p>
{% endif %}