remove trade offer expanding, fix flipping to work with new layout. all cards in trade offer are not expanded

This commit is contained in:
badblocks 2025-04-04 14:23:53 -07:00
parent c68d1fb5ec
commit 7c62c57433
11 changed files with 194 additions and 170 deletions

View file

@ -11,7 +11,7 @@
{# Render a trade acceptance using our new tag #}
{% render_trade_acceptance offer %}
{% else %}
{% render_trade_offer offer expanded=expanded %}
{% render_trade_offer offer %}
{% endif %}
</div>
{% empty %}

View file

@ -7,7 +7,7 @@
<div class="container mx-auto max-w-2xl mt-6">
<h2 class="text-2xl font-bold">Trade Offer Details</h2>
<div class="flex justify-center mt-10">
{% render_trade_offer object expanded=True %}
{% render_trade_offer object %}
</div>
{% if acceptance_form %}
<div class="w-3/4 mx-auto mt-4">