diff --git a/myproject/customers/templates/customers/customer_list.html b/myproject/customers/templates/customers/customer_list.html index 397d2f4..2ea2508 100644 --- a/myproject/customers/templates/customers/customer_list.html +++ b/myproject/customers/templates/customers/customer_list.html @@ -63,6 +63,7 @@ Имя Email Телефон + Заметки Действия @@ -75,6 +76,16 @@ {{ customer.full_name }} {{ customer.email|default:'—' }} {{ customer.phone|default:'—' }} + + {% if customer.notes %} +
+ {{ customer.notes|truncatewords:10 }} +
+ {% else %} + — + {% endif %} +