Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix displaying no payment status

Anna Siwikeb5a5bfd46ec
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index 545e3a409f..c2e54e466e 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -104,7 +104,9 @@
{% if payment %}
{% render_status payment.status payment.get_status_display %}
{% else %}
- {% trans "N/A" context "Payment status not available" %}
+ <span class="label">
+ {% trans "N/A" context "Payment status not available" %}
+ </span>
{% endif %}
</div>
<div class="data-table-container">