feat: 대시보드 최근 가입자 테이블에 카카오 뱃지 추가

This commit is contained in:
thug0bin 2026-02-27 16:25:29 +09:00
parent a3a0bc8868
commit 3467cacd2f

View File

@ -478,7 +478,14 @@
{% for user in recent_users %}
<tr style="cursor: pointer;" onclick="showUserDetail({{ user.id }})">
<td>{{ user.id }}</td>
<td style="color: #6366f1; font-weight: 600;">{{ user.nickname }}</td>
<td style="color: #6366f1; font-weight: 600;">
{{ user.nickname }}
{% if user.nickname != '고객' %}
<span style="display: inline-flex; align-items: center; gap: 2px; background: #FEE500; color: #3C1E1E; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 8px; margin-left: 4px;">💬</span>
{% else %}
<span style="display: inline-flex; align-items: center; background: #e9ecef; color: #868e96; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 8px; margin-left: 4px;">미인증</span>
{% endif %}
</td>
<td class="phone-masked">{{ user.phone[:3] }}-{{ user.phone[3:7] }}-{{ user.phone[7:] if user.phone|length > 7 else '' }}</td>
<td class="points-positive">{{ "{:,}".format(user.mileage_balance) }}P</td>
<td>{{ user.created_at[:16].replace('T', ' ') }}</td>