diff --git a/myproject/customers/templates/customers/customer_detail.html b/myproject/customers/templates/customers/customer_detail.html index f3593bb..a755acf 100644 --- a/myproject/customers/templates/customers/customer_detail.html +++ b/myproject/customers/templates/customers/customer_detail.html @@ -158,11 +158,22 @@
-
-
История кошелька (последние 20)
- {{ wallet_transactions|length }} +
+
-
+
+
{% if wallet_transactions %}
@@ -215,6 +226,7 @@ {% else %}

История транзакций пуста.

{% endif %} + @@ -222,16 +234,27 @@
-
-
История заказов
-
- {{ orders_page.paginator.count }} - - Новый заказ - -
+
+
-
+
+
{% if orders_page %}
@@ -356,6 +379,7 @@ {% else %}

У клиента пока нет заказов.

{% endif %} +