Fix expanded state handling for trade offers and modify expand all on trade offers listing to persist between pages

This commit is contained in:
badblocks 2025-04-02 13:39:15 -07:00
parent 6a61b79bbe
commit 63e20bace6
7 changed files with 74 additions and 128 deletions

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 %}
{% render_trade_offer object expanded=True %}
</div>
{% if acceptance_form %}
<div class="w-3/4 mx-auto mt-4">