style: 보유 배지 '보유xx' → 'xx 주'

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hyowons
2026-06-16 09:51:17 +09:00
parent 3694393c43
commit 3366990cfa
+2 -2
View File
@@ -1907,7 +1907,7 @@ def _render_row(c: dict, source: str = 'watchlist') -> str:
if mode == 'held':
qty = c.get('held_qty', 0)
status_cell = f'<span class="badge held">보유{qty:,}</span>'
status_cell = f'<span class="badge held">{qty:,}</span>'
accounts = c.get('held_accounts') or []
avg = c.get('held_avg_price', 0)
held_row = (
@@ -2767,7 +2767,7 @@ def _render_holding_row(r: dict, total_value: int, show_day_change: bool = False
<summary>
<div class="left">
<div class="line1 line1-held">{_buy_rank_badge(buy_amount)}<span class="{stock_cls}">{stock}</span><span class="code acct-mini">{acct_label}</span></div>
<div class="line2"><span class="badge held">보유{qty:,}</span>{_pending_badges_html(r)}<span class="muted small wt-chip"><span class="rt-weight">{weight:.2f}</span>%</span>{star}</div>
<div class="line2"><span class="badge held">{qty:,} </span>{_pending_badges_html(r)}<span class="muted small wt-chip"><span class="rt-weight">{weight:.2f}</span>%</span>{star}</div>
{summary_journal_html}
</div>
<div class="right">