style: 보유 배지 'xx 주' → '보유 xx 주'
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user