Remove bold formatting from 'Out of Stock' status when no refund address configured

- Apply conditional font-weight: bold only when status \!= 'out-of-stock-no-refund'
- This makes the out-of-stock-no-refund status appear less emphasized since no refund was possible
This commit is contained in:
Russell Ballestrini 2025-09-24 15:42:57 -04:00
parent d292ab88e2
commit 4d1cddd544

View file

@ -20,7 +20,7 @@
</p>
</div>
<div style="text-align: right;">
<span style="background: {{ payment.status_color }}; color: white; padding: 4px 8px; border-radius: 3px; font-size: 0.85em; font-weight: bold;">
<span style="background: {{ payment.status_color }}; color: white; padding: 4px 8px; border-radius: 3px; font-size: 0.85em; {% if payment.status != 'out-of-stock-no-refund' %}font-weight: bold;{% endif %}">
{{ payment.status_label }}
</span>
</div>