From bfd8ace1dbb0172a7bf710c9661962f7015f3f65 Mon Sep 17 00:00:00 2001 From: fish Date: Wed, 29 Jul 2026 11:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95=E6=8C=81?= =?UTF-8?q?=E4=BB=93=E5=92=8C=E5=B7=B2=E5=B9=B3=E4=BB=93=E5=93=81=E7=A7=8D?= =?UTF-8?q?Tab=E6=97=A0=E6=95=B0=E6=8D=AE=E6=97=B6=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- ft-app/app/templates/trades.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ft-app/app/templates/trades.html b/ft-app/app/templates/trades.html index 0878034..1b53475 100644 --- a/ft-app/app/templates/trades.html +++ b/ft-app/app/templates/trades.html @@ -94,7 +94,9 @@ 全部 {% for pc in product_codes %} {% set count = grouped_open.get(pc, [])|length %} - {{ pc }}{% if count %} · {{ count }}{% endif %} + {% if count %} + {{ pc }} · {{ count }} + {% endif %} {% endfor %} @@ -217,7 +219,9 @@ 全部 {% for pc in product_codes %} {% set count = grouped_closed.get(pc, [])|length %} - {{ pc }}{% if count %} · {{ count }}{% endif %} + {% if count %} + {{ pc }} · {{ count }} + {% endif %} {% endfor %}